Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa46081c authored by Jesper Juhl's avatar Jesper Juhl Committed by David S. Miller
Browse files

[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: default avatarJesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e24eb521
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;