[PATCH] media: Remove unused variable "tmp" from function mxl111sf_ep6_streaming_ctrl.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is to address the following warning during compilation time:

  drivers/media/dvb/dvb-usb/mxl111sf.c: In function ‘mxl111sf_ep6_streaming_ctrl’:
  drivers/media/dvb/dvb-usb/mxl111sf.c:343: warning: unused variable ‘tmp’

This variable is indeed no longer in use (change can be traced back
to commit: 3be5bb71fbf18f83cb88b54a62a78e03e5a4f30a).

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@xxxxxxxxx>
---
 drivers/media/dvb/dvb-usb/mxl111sf.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/media/dvb/dvb-usb/mxl111sf.c b/drivers/media/dvb/dvb-usb/mxl111sf.c
index 81305de..91834c5 100644
--- a/drivers/media/dvb/dvb-usb/mxl111sf.c
+++ b/drivers/media/dvb/dvb-usb/mxl111sf.c
@@ -340,7 +340,6 @@ static int mxl111sf_ep6_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
 	struct mxl111sf_state *state = d->priv;
 	struct mxl111sf_adap_state *adap_state = adap->fe_adap[adap->active_fe].priv;
 	int ret = 0;
-	u8 tmp;
 
 	deb_info("%s(%d)\n", __func__, onoff);
 
-- 
1.7.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux