[PATCH] Char: moxa, do not initialize global static
authorJiri Slaby <jirislaby@gmail.com>
Sat, 10 Feb 2007 09:45:26 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:29 +0000 (10:51 -0800)
commit9fa372a850b9ffcb177eb9ac0b75963b2f9af233
tree3acbfb4068fcba236c9755f2cd5542b964be5daf
parentf204d2672044f0f7061d645f0f59f8535b63d106
[PATCH] Char: moxa, do not initialize global static

Remove useless initialization of variables a) statically b) dynamically at
module_init c) dynamically after kzalloc (those with '= 0/NULL')

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>
drivers/char/moxa.c