From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>, Jesper Juhl <juhl-lkml@dif.dk>
Cc: linux-kernel@vger.kernel.org
Subject: [-mm patch] sound/oss/soundcard.c: remove an unused variable
Date: Tue, 8 Mar 2005 00:07:03 +0100 [thread overview]
Message-ID: <20050307230703.GK3170@stusta.de> (raw)
In-Reply-To: <20050304033215.1ffa8fec.akpm@osdl.org>
On Fri, Mar 04, 2005 at 03:32:15AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.11-rc5-mm1:
>...
> +verify_area-cleanup-sound.patch
>...
> Replace verify_area() with access_ok() in lots of places.
>...
This causes the following compile warning:
<-- snip -->
...
CC sound/oss/soundcard.o
sound/oss/soundcard.c: In function `sound_ioctl':
sound/oss/soundcard.c:332: warning: unused variable `err'
...
<-- snip -->
Trivial fix:
<-- snip -->
This patch removes an unused variable.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-mm1-full/sound/oss/soundcard.c.old 2005-03-07 23:52:35.000000000 +0100
+++ linux-2.6.11-mm1-full/sound/oss/soundcard.c 2005-03-07 23:52:42.000000000 +0100
@@ -329,7 +329,7 @@
static int sound_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg)
{
- int err, len = 0, dtype;
+ int len = 0, dtype;
int dev = iminor(inode);
void __user *p = (void __user *)arg;
next prev parent reply other threads:[~2005-03-07 23:38 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-04 11:32 2.6.11-mm1 Andrew Morton
2005-03-04 13:59 ` 2.6.11-mm1 Aurélien Francillon
2005-03-04 14:19 ` 2.6.11-mm1 Aurélien Francillon
2005-03-04 16:44 ` 2.6.11-mm1 (compile stats) John Cherry
2005-03-04 22:16 ` 2.6.11-mm1 Alexander Nyberg
2005-03-04 22:39 ` 2.6.11-mm1 Andrew Morton
2005-03-04 22:55 ` 2.6.11-mm1 Alexander Nyberg
2005-03-08 21:31 ` 2.6.11-mm1 Alexander Nyberg
2005-03-07 8:41 ` 2.6.11-mm1 Borislav Petkov
2005-03-07 21:52 ` 2.6.11-mm1: sound <-> GAMEPORT problems Adrian Bunk
2005-03-07 22:05 ` Dmitry Torokhov
2005-03-07 22:12 ` Dmitry Torokhov
2005-03-07 23:06 ` [2.6 patch] sound/pci/cs4281.c fix typos in the SUPPORT_JOYSTICK=n case Adrian Bunk
2005-03-08 10:24 ` Vojtech Pavlik
2005-03-09 11:32 ` [2.6 patch] OSS gameport fixes Adrian Bunk
2005-03-10 15:36 ` Dmitry Torokhov
2005-03-10 15:57 ` Vojtech Pavlik
2005-03-07 8:51 ` 2.6.11-mm1 Guillaume Thouvenin
2005-03-07 8:58 ` 2.6.11-mm1 Andrew Morton
2005-03-07 23:45 ` 2.6.11-mm1 Greg KH
2005-03-07 23:07 ` Adrian Bunk [this message]
2005-03-08 2:33 ` [-mm patch] sound/oss/soundcard.c: remove an unused variable Jesper Juhl
2005-03-10 17:21 ` 2.6.11-mm1 Tom Rini
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=20050307230703.GK3170@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=juhl-lkml@dif.dk \
--cc=linux-kernel@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