Skip to contentSkip to conversation

remove drivers/char/riscom8.c:baud_table[]

PATCH New Adrian Bunk 1 participant 1 message Nov 29, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove drivers/char/riscom8.c:baud_table[]

Commit c7bce3097c0f9bbed76ee6fd03742f2624031a45 removed all usages of baud_table[] but not the array itself.

Spotted by the GNU C compiler.

drivers/char/riscom8.c renamed from drivers/char/riscom8.c.old +0 -5
@@ -82,11 +82,6 @@
 static struct riscom_board * IRQ_to_board[16];
 static struct tty_driver *riscom_driver;
 
-static unsigned long baud_table[] =  {
-	0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800,
-	9600, 19200, 38400, 57600, 76800, 0, 
-};
-
 static struct riscom_board rc_board[RC_NBOARD] =  {
 	{
 		.base	= RC_IOBASE1,