]> git.baikalelectronics.ru Git - kernel.git/commit
[ZD1211RW]: Don't needlessly initialize variable to NULL in zd_chip
authorJesper Juhl <jesper.juhl@gmail.com>
Thu, 30 Aug 2007 22:30:31 +0000 (00:30 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:17 +0000 (16:52 -0700)
commitb1a91985df443367c7cb9fe38f752f5072fa0627
tree8ad721949d536e7122dc4f75b690b35736fc72c0
parentf36fa5f3a171734d3a15699e6b6b22df614c44d9
[ZD1211RW]: Don't needlessly initialize variable to NULL in zd_chip

No need to initialize to NULL when variable is never used before
it's assigned the return value of a kmalloc() call.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/zd1211rw/zd_chip.c