From: "René Bolldorf" <xsecute@googlemail.com>
To: Greg Kroah-Hartman <gregkh@suse.de>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH]drivers/usb/core/sysfs.c:201 unused variable 'value'
Date: Wed, 30 Dec 2009 00:49:29 +0100 [thread overview]
Message-ID: <4B3A9589.6060201@googlemail.com> (raw)
The variable 'value' is unused in 'set_reset_quirk()'.
Greetings René Bolldorf
--- ./drivers/usb/core/sysfs.c 2009-12-29 23:57:30.579982912 +0100
+++ ./drivers/usb/core/sysfs.c 2009-12-29 23:58:19.114982484 +0100
@@ -198,7 +198,7 @@ set_reset_quirk(struct device *dev, stru
const char *buf, size_t count)
{
struct usb_device *udev = to_usb_device(dev);
- int config, value;
+ int config;
if (sscanf(buf, "%d", &config) != 1 || config < 0 || config > 1)
return -EINVAL;
next reply other threads:[~2009-12-29 23:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-29 23:49 René Bolldorf [this message]
2009-12-30 0:01 ` [PATCH]drivers/usb/core/sysfs.c:201 unused variable 'value' Felipe Balbi
2009-12-30 11:27 ` Sergei Shtylyov
2009-12-30 12:16 ` Felipe Balbi
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=4B3A9589.6060201@googlemail.com \
--to=xsecute@googlemail.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox