diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-26 15:09:56 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-01 16:14:27 +0100 |
commit | b97baa3e22e18dac42001e665cf27ad1211bf878 (patch) | |
tree | 8eed6ebafeae5b4ba2a09d8b1ac6180237ab6c33 /drivers/media/common/b2c2 | |
parent | [media] media: platform: exynos4-is: media-dev: Add missing of_node_put (diff) | |
download | linux-b97baa3e22e18dac42001e665cf27ad1211bf878.tar.xz linux-b97baa3e22e18dac42001e665cf27ad1211bf878.zip |
[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>
Diffstat (limited to 'drivers/media/common/b2c2')
0 files changed, 0 insertions, 0 deletions