[media] dvb-usb: hide unused functions
authorArnd Bergmann <arnd@arndb.de>
Wed, 23 Mar 2016 10:30:38 +0000 (07:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 7 May 2016 14:46:42 +0000 (11:46 -0300)
commite8e20f1f02eb34b4d446101547159418346b65d4
treec4569d5b237237e3fbf0efecd8cebf931480f883
parentc64ee34712eeeee95de0376f424dd4dc7661d3ed
[media] dvb-usb: hide unused functions

A couple of data structures in the dibusb-common file are only
accessed when CONFIG_DVB_DIB3000MC is enabled, otherwise we
get a harmless gcc warning:

usb/dvb-usb/dibusb-common.c:223:34: error: 'dib3000p_panasonic_agc_config' defined but not used
usb/dvb-usb/dibusb-common.c:211:32: error: 'stk3000p_dib3000p_config' defined but not used

This moves the existing #ifdef a few lines up to correctly cover
all the conditional data structures, which gets rid of the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb/dibusb-common.c
This page took 0.029144 seconds and 5 git commands to generate.