aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-10-18 06:06:27 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 17:37:27 -0400
commitc148b9d555decb77bba08fbcf2493ed427918c4e (patch)
treef0e1cf0890bd480bf5d90101bf6be0987253a4f2
parentac6aec2f5683588361ab408cb3346b08c66bdfbe (diff)
Char: rocket, don't re-set statics to 0
Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/char/rocket.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index 01ce0c7d30a9..919fb9b06b84 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/rocket.c
@@ -2376,18 +2376,6 @@ static int __init rp_init(void)
2376 return -ENOMEM; 2376 return -ENOMEM;
2377 2377
2378 /* 2378 /*
2379 * Initialize the array of pointers to our own internal state
2380 * structures.
2381 */
2382 memset(rp_table, 0, sizeof (rp_table));
2383 memset(xmit_flags, 0, sizeof (xmit_flags));
2384
2385 for (i = 0; i < MAX_RP_PORTS; i++)
2386 lineNumbers[i] = 0;
2387 nextLineNumber = 0;
2388 memset(rocketModel, 0, sizeof (rocketModel));
2389
2390 /*
2391 * If board 1 is non-zero, there is at least one ISA configured. If controller is 2379 * If board 1 is non-zero, there is at least one ISA configured. If controller is
2392 * zero, use the default controller IO address of board1 + 0x40. 2380 * zero, use the default controller IO address of board1 + 0x40.
2393 */ 2381 */