projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47d3904
)
amiserial: Remove unused variable icount
author
Geert Uytterhoeven
<
[email protected]
>
Thu, 28 Oct 2010 18:29:53 +0000
(20:29 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 11 Nov 2010 18:51:35 +0000
(10:51 -0800)
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 <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/char/amiserial.c
patch
|
blob
|
history
diff --git
a/drivers/char/amiserial.c
b/drivers/char/amiserial.c
index b0a70461a12c9c19269b8fe6c443251960c131b1..c0bd6f472c523a377f4d6efef8d90f8f6fbfe373 100644
(file)
--- a/
drivers/char/amiserial.c
+++ b/
drivers/char/amiserial.c
@@
-1299,7
+1299,6
@@
static int rs_ioctl(struct tty_struct *tty, struct file * file,
{
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;