diff options
author | Panagiotis Issaris <takis@issaris.org> | 2005-11-08 00:03:15 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2005-11-08 03:50:01 +0100 |
commit | b69a3aa85cb7bda2eb6c5932a62c1337d0d6612c (patch) | |
tree | 64a65fcec724795c213ab96c1419c95a78c41be4 /drivers/net/wireless/wl3501_cs.c | |
parent | [PATCH] atmel: memset correct range (diff) | |
download | linux-b69a3aa85cb7bda2eb6c5932a62c1337d0d6612c.tar.xz linux-b69a3aa85cb7bda2eb6c5932a62c1337d0d6612c.zip |
[PATCH] wireless net: Conversions of kmalloc/memset to kzalloc
More conversions of kmalloc/memset to kzalloc
Signed-off-by: Panagiotis Issaris <takis@issaris.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl3501_cs.c')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 3f8c27f0871b..978fdc606781 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c @@ -1965,10 +1965,9 @@ static dev_link_t *wl3501_attach(void) int ret; /* Initialize the dev_link_t structure */ - link = kmalloc(sizeof(*link), GFP_KERNEL); + link = kzalloc(sizeof(*link), GFP_KERNEL); if (!link) goto out; - memset(link, 0, sizeof(struct dev_link_t)); /* The io structure describes IO port mapping */ link->io.NumPorts1 = 16; |