media: cx231xx: remove a now unused var
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sat, 5 May 2018 12:27:48 +0000 (08:27 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sat, 5 May 2018 12:55:29 +0000 (08:55 -0400)
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>
drivers/media/usb/cx231xx/cx231xx-dvb.c

index ca0315dfca69a669ec8fbc0543654430d9edcebc..89357cb08b1abf88353f01efbdc730a0af9afe17 100644 (file)
@@ -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);