* + drivers-char-amiserialc-remove-unused-variable-icount.patch added to -mm tree
@ 2010-10-28 22:19 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2010-10-28 22:19 UTC (permalink / raw)
To: mm-commits; +Cc: geert, greg
The patch titled
drivers/char/amiserial.c: remove unused variable icount
has been added to the -mm tree. Its filename is
drivers-char-amiserialc-remove-unused-variable-icount.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: drivers/char/amiserial.c: remove unused variable icount
From: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/char/amiserial.c: In function `rs_ioctl':
drivers/char/amiserial.c:1302: warning: unused variable `icount'
commit 0587102cf9f427c185bfdeb2cef41e13ee0264b1 ("tty: icount changeover
for other main devices") removed the users, but not the actual variable.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/char/amiserial.c | 1 -
1 file changed, 1 deletion(-)
diff -puN drivers/char/amiserial.c~drivers-char-amiserialc-remove-unused-variable-icount drivers/char/amiserial.c
--- a/drivers/char/amiserial.c~drivers-char-amiserialc-remove-unused-variable-icount
+++ a/drivers/char/amiserial.c
@@ -1299,7 +1299,6 @@ static int rs_ioctl(struct tty_struct *t
{
struct async_struct * info = tty->driver_data;
struct async_icount cprev, cnow; /* kernel counter temps */
- struct serial_icounter_struct icount;
void __user *argp = (void __user *)arg;
unsigned long flags;
_
Patches currently in -mm which might be from geert@linux-m68k.org are
origin.patch
drivers-macintosh-adb-iopc-flags-should-be-unsigned-long.patch
linux-next.patch
drivers-char-amiserialc-remove-unused-variable-icount.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-28 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-28 22:19 + drivers-char-amiserialc-remove-unused-variable-icount.patch added to -mm tree akpm
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.