From: Jiri Slaby Date: Thu, 18 Oct 2007 10:06:27 +0000 (-0700) Subject: Char: rocket, don't re-set statics to 0 X-Git-Tag: v2.6.24-rc1~343 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c148b9d555decb77bba08fbcf2493ed427918c4e;p=platform%2Fkernel%2Flinux-3.10.git Char: rocket, don't re-set statics to 0 Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c index 01ce0c7..919fb9b0 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. */