diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-18 11:43:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-26 08:43:29 -0300 |
commit | c1bd57d30bf1b72134d1049b9b169afa96c4d030 (patch) | |
tree | 967cdf3ed38e6595c4840bf3d6a732524adcb3ca /drivers/media/dvb-core | |
parent | 7e182f78988404717e27aed5a9d4150631b323f4 (diff) | |
download | linux-stable-c1bd57d30bf1b72134d1049b9b169afa96c4d030.tar.gz linux-stable-c1bd57d30bf1b72134d1049b9b169afa96c4d030.tar.bz2 linux-stable-c1bd57d30bf1b72134d1049b9b169afa96c4d030.zip |
[media] dvb-frontend: remove a warning
if CONFIG_MEDIA_CONTROLLER_DVB is not selected, it is now
producing this warning:
drivers/media/dvb-core/dvb_frontend.c: In function ‘dvb_frontend_thread’:
drivers/media/dvb-core/dvb_frontend.c:695:6: warning: unused variable ‘ret’ [-Wunused-variable]
int ret;
^
Reported-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-core')
-rw-r--r-- | drivers/media/dvb-core/dvb_frontend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 79d2fac5075c..882ca417f328 100644 --- a/drivers/media/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb-core/dvb_frontend.c @@ -692,7 +692,9 @@ static int dvb_frontend_thread(void *data) struct dvb_frontend_private *fepriv = fe->frontend_priv; fe_status_t s; enum dvbfe_algo algo; +#ifdef CONFIG_MEDIA_CONTROLLER_DVB int ret; +#endif bool re_tune = false; bool semheld = false; |