NET: pc300, do not zero global variables
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:03 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 19:47:01 +0000 (11:47 -0800)
commitc2f128a1fed866dca94d52b3f0b1e40726e2352a
treead1c76107d9ce2d1dc613aa8d5d3ff257b45633d
parentecaa3bda65cefebfce11cc7be4b8d9203f5ce12c
NET: pc300, do not zero global variables

They are in .bss which is initialized to zeros when the module is
loaded/kernel booted.

What a strange way to do the initialization once in the pci probe
routine...

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wan/pc300_drv.c
drivers/net/wan/pc300_tty.c