From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/7] [media] pwc: hide unused label
Date: Tue, 26 Jan 2016 16:29:18 +0100 [thread overview]
Message-ID: <2829409.X8sFnRsOHN@wuerfel> (raw)
In-Reply-To: <1453817424-3080054-1-git-send-email-arnd@arndb.de>
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
WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Hans de Goede <hdegoede@redhat.com>,
Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
linux-kernel@vger.kernel.org,
Hans Verkuil <hans.verkuil@cisco.com>,
linux-media@vger.kernel.org
Subject: Re: [PATCH 1/7] [media] pwc: hide unused label
Date: Tue, 26 Jan 2016 16:29:18 +0100 [thread overview]
Message-ID: <2829409.X8sFnRsOHN@wuerfel> (raw)
In-Reply-To: <1453817424-3080054-1-git-send-email-arnd@arndb.de>
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
next prev parent reply other threads:[~2016-01-26 15:29 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-26 14:09 [PATCH 1/7] [media] pwc: hide unused label Arnd Bergmann
2016-01-26 14:09 ` Arnd Bergmann
2016-01-26 14:09 ` [PATCH 2/7] [media] hdpvr: hide unused variable Arnd Bergmann
2016-01-26 14:09 ` Arnd Bergmann
2016-01-26 14:09 ` [PATCH 3/7] [media] gspca: avoid unused variable warnings Arnd Bergmann
2016-01-26 14:09 ` Arnd Bergmann
2016-07-03 21:22 ` [3/7,media] " Hans de Goede
2016-07-03 21:22 ` Hans de Goede
2016-01-26 14:09 ` [PATCH 4/7] [media] b2c2: flexcop: avoid unused function warnings Arnd Bergmann
2016-01-26 14:09 ` Arnd Bergmann
2016-01-26 14:09 ` [PATCH 5/7] [media] em28xx: only use mt9v011 if camera support is enabled Arnd Bergmann
2016-01-26 14:09 ` Arnd Bergmann
2016-01-26 14:10 ` [PATCH 6/7] [media] em28xx: add MEDIA_TUNER dependency Arnd Bergmann
2016-01-26 14:10 ` Arnd Bergmann
2016-01-26 14:33 ` Mauro Carvalho Chehab
2016-01-26 14:33 ` Mauro Carvalho Chehab
2016-01-26 15:53 ` Arnd Bergmann
2016-01-26 15:53 ` Arnd Bergmann
2016-01-26 16:36 ` Mauro Carvalho Chehab
2016-01-26 16:36 ` Mauro Carvalho Chehab
2016-01-26 16:51 ` Arnd Bergmann
2016-01-26 16:51 ` Arnd Bergmann
2016-01-26 17:08 ` Mauro Carvalho Chehab
2016-01-26 17:08 ` Mauro Carvalho Chehab
2016-01-26 22:01 ` Arnd Bergmann
2016-01-26 22:01 ` Arnd Bergmann
2016-01-26 14:10 ` [PATCH 7/7] [media] go7007: add MEDIA_CAMERA_SUPPORT dependency Arnd Bergmann
2016-01-26 14:10 ` Arnd Bergmann
2016-01-26 15:04 ` Mauro Carvalho Chehab
2016-01-26 15:04 ` Mauro Carvalho Chehab
2016-01-26 15:41 ` Mauro Carvalho Chehab
2016-01-26 15:41 ` Mauro Carvalho Chehab
2016-01-26 14:40 ` [PATCH 1/7] [media] pwc: hide unused label kbuild test robot
2016-01-26 14:40 ` kbuild test robot
2016-01-26 15:29 ` Arnd Bergmann [this message]
2016-01-26 15:29 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2829409.X8sFnRsOHN@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.