Commit:     fa46081c506ab518e8ea4095bc21b6d544006c00
Parent:     e24eb521fbf2a350ce879dfc1d8e56d4ffa2aa22
Author:     Jesper Juhl <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 31 00:30:31 2007 +0200
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:52:17 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 drivers/net/wireless/zd1211rw/zd_chip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/zd1211rw/zd_chip.c 
index 750c0f9..3d60c69 100644
--- a/drivers/net/wireless/zd1211rw/zd_chip.c
+++ b/drivers/net/wireless/zd1211rw/zd_chip.c
@@ -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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to