diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-10-18 03:06:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 14:37:27 -0700 |
commit | c148b9d555decb77bba08fbcf2493ed427918c4e (patch) | |
tree | f0e1cf0890bd480bf5d90101bf6be0987253a4f2 /drivers | |
parent | ac6aec2f5683588361ab408cb3346b08c66bdfbe (diff) | |
download | linux-c148b9d555decb77bba08fbcf2493ed427918c4e.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/rocket.c | 12 |
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) return -ENOMEM; /* - * Initialize the array of pointers to our own internal state - * structures. - */ - memset(rp_table, 0, sizeof (rp_table)); - memset(xmit_flags, 0, sizeof (xmit_flags)); - - for (i = 0; i < MAX_RP_PORTS; i++) - lineNumbers[i] = 0; - nextLineNumber = 0; - memset(rocketModel, 0, sizeof (rocketModel)); - - /* * If board 1 is non-zero, there is at least one ISA configured. If controller is * zero, use the default controller IO address of board1 + 0x40. */ |