diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-05 14:27:48 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-05 14:55:29 +0200 |
commit | f2bea20ec56234a8ca8ec4a3481b744b3e0e8813 (patch) | |
tree | b8cb6262a916d5ff1158d329f9b6fd7dbcf487a9 | |
parent | media: cx231xx: Add I2C_MUX dependency (diff) | |
download | linux-f2bea20ec56234a8ca8ec4a3481b744b3e0e8813.tar.xz linux-f2bea20ec56234a8ca8ec4a3481b744b3e0e8813.zip |
media: cx231xx: remove a now unused var
drivers/media/usb/cx231xx/cx231xx-dvb.c: In function 'unregister_dvb':
drivers/media/usb/cx231xx/cx231xx-dvb.c:607:21: warning: unused variable 'client' [-Wunused-variable]
struct i2c_client *client;
^~~~~~
Fixes: a12481354656 ("media: cx231xx: Switch to using new dvb i2c helpers")
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r-- | drivers/media/usb/cx231xx/cx231xx-dvb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-dvb.c b/drivers/media/usb/cx231xx/cx231xx-dvb.c index ca0315dfca69..89357cb08b1a 100644 --- a/drivers/media/usb/cx231xx/cx231xx-dvb.c +++ b/drivers/media/usb/cx231xx/cx231xx-dvb.c @@ -602,7 +602,6 @@ fail_adapter: static void unregister_dvb(struct cx231xx_dvb *dvb) { - struct i2c_client *client; dvb_net_release(&dvb->net); dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); |