public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] remove drivers/char/riscom8.c:baud_table[]
@ 2006-11-29 10:04 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-11-29 10:04 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

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

Spotted by the GNU C compiler.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.19-rc6-mm2/drivers/char/riscom8.c.old	2006-11-29 09:55:13.000000000 +0100
+++ linux-2.6.19-rc6-mm2/drivers/char/riscom8.c	2006-11-29 09:55:23.000000000 +0100
@@ -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,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-29 10:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29 10:04 [2.6 patch] remove drivers/char/riscom8.c:baud_table[] Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox