1
0
Fork 0
alistair23-linux/drivers/media/usb/pwc
Arnd Bergmann 1f6bcd0114 [media] pwc: hide unused label
The pwc driver causes a warning when CONFIG_USB_PWC_INPUT_EVDEV is unset:

drivers/media/usb/pwc/pwc-if.c: In function 'usb_pwc_probe':
drivers/media/usb/pwc/pwc-if.c:1115:1: warning: label 'err_video_unreg' defined but not used [-Wunused-label]

This moves the unused label and code inside another #ifdef to
get rid of the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-08 14:56:22 -03:00
..
Kconfig
Makefile
philips.txt
pwc-ctrl.c [media] pwc: Fix codec1 cameras no longer working 2012-11-21 13:05:57 -02:00
pwc-dec1.c
pwc-dec1.h
pwc-dec23.c
pwc-dec23.h
pwc-if.c [media] pwc: hide unused label 2016-07-08 14:56:22 -03:00
pwc-kiara.c
pwc-kiara.h
pwc-misc.c
pwc-nala.h
pwc-timon.c
pwc-timon.h
pwc-uncompress.c [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
pwc-v4l.c [media] pwc: fix sparse warning 2014-09-03 09:55:43 -03:00
pwc.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00