2003-09-01 20:53:50

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] remove an unused variable in riscom8.c

The patch below removes an unused variable in drivers/char/riscom8.c

I've tested the compilation with 2.6.0-test4-mm4.

Please apply
Adrian

--- linux-2.6.0-test4-mm4-no-smp/drivers/char/riscom8.c.old 2003-09-01 22:21:57.000000000 +0200
+++ linux-2.6.0-test4-mm4-no-smp/drivers/char/riscom8.c 2003-09-01 22:22:55.000000000 +0200
@@ -1036,7 +1036,6 @@
int error;
struct riscom_port * port;
struct riscom_board * bp;
- unsigned long flags;

board = RC_BOARD(tty->index);
if (board >= RC_NBOARD || !(rc_board[board].flags & RC_BOARD_PRESENT))