mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
[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>
This commit is contained in:
parent
e24eb521fb
commit
fa46081c50
@ -106,7 +106,7 @@ int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr
|
||||
{
|
||||
int r;
|
||||
int i;
|
||||
zd_addr_t *a16 = (zd_addr_t *)NULL;
|
||||
zd_addr_t *a16;
|
||||
u16 *v16;
|
||||
unsigned int count16;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user