aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-01-26 12:09:56 -0200
committerMauro Carvalho Chehab <[email protected]>2016-02-01 13:14:27 -0200
commitb97baa3e22e18dac42001e665cf27ad1211bf878 (patch)
tree8eed6ebafeae5b4ba2a09d8b1ac6180237ab6c33 /tools/perf/scripts/python/netdev-times.py
parent458a39523542c4479a69b98743436fb761f03796 (diff)
[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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions