Skip to content

Commit

Permalink
amiserial: Remove unused variable icount
Browse files Browse the repository at this point in the history
drivers/char/amiserial.c: In function ?rs_ioctl?:
drivers/char/amiserial.c:1302: warning: unused variable ?icount?

commit 0587102 ("tty: icount changeover for
other main devices") removed the users, but not the actual variable.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Geert Uytterhoeven authored and Greg Kroah-Hartman committed Nov 11, 2010
1 parent 47d3904 commit 37db8f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/char/amiserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 37db8f9

Please sign in to comment.