Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1318073

Re: [PATCH 1/7] [media] pwc: hide unused label

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 1/7] [media] pwc: hide unused label
Date 2016-01-26 16:40 +0100
Message-ID <qVdSQ-644-45@gated-at.bofh.it> (permalink)
References <qVcDn-5i7-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 26 January 2016 15:09:55 Arnd Bergmann wrote:
> 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]
> 
> Obviously, the cleanup of &pdev->vdev is not needed without the input device,
> so we can just move it inside of the existing #ifdef and remove the
> extra label.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 

Please ignore patch 1. I made some late changes and failed to noticed
the build failure I introduced in another configuration.

	Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/7] [media] pwc: hide unused label Arnd Bergmann <arnd@arndb.de> - 2016-01-26 15:20 +0100
  [PATCH 7/7] [media] go7007: add MEDIA_CAMERA_SUPPORT dependency Arnd Bergmann <arnd@arndb.de> - 2016-01-26 15:20 +0100
    Re: [PATCH 7/7] [media] go7007: add MEDIA_CAMERA_SUPPORT dependency Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 2016-01-26 16:10 +0100
      Re: [PATCH 7/7] [media] go7007: add MEDIA_CAMERA_SUPPORT dependency Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 2016-01-26 16:50 +0100
  Re: [PATCH 1/7] [media] pwc: hide unused label Arnd Bergmann <arnd@arndb.de> - 2016-01-26 16:40 +0100

csiph-web