Commit c1bd57d3 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[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: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 7e182f78
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;