linux/drivers/media/usb/hdpvr
Arnd Bergmann b97baa3e22 [media] hdpvr: hide unused variable
The i2c client pointer is only used when CONFIG_I2C is set, and
otherwise produces a compile-time warning:

drivers/media/usb/hdpvr/hdpvr-core.c: In function 'hdpvr_probe':
drivers/media/usb/hdpvr/hdpvr-core.c:276:21: error: unused variable 'client' [-Werror=unused-variable]

This uses the same #ifdef to hide the variable when the code using
it is hidden.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-01 13:14:27 -02:00
..
Kconfig
Makefile
hdpvr-control.c [media] hdpvr: reduce memory footprint when debugging 2014-09-23 16:13:36 -03:00
hdpvr-core.c [media] hdpvr: hide unused variable 2016-02-01 13:14:27 -02:00
hdpvr-i2c.c
hdpvr-video.c [media] hdpvr: Refactoring for hdpvr_read() 2016-02-01 07:41:14 -02:00
hdpvr.h [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00