linux/drivers/net/wireless/orinoco
Julia Lawall 6ac478cf05 drivers/net/wireless/orinoco: Use kzalloc
Use kzalloc rather than the combination of kmalloc and memset.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,size,flags;
statement S;
@@

-x = kmalloc(size,flags);
+x = kzalloc(size,flags);
 if (x == NULL) S
-memset(x, 0, size);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-02 16:13:01 -04:00
..
airport.c orinoco: encapsulate driver locking 2010-05-03 14:53:07 -04:00
cfg.c cfg80211/mac80211: better channel handling 2010-05-07 14:55:50 -04:00
cfg.h
fw.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-05 16:14:16 -04:00
fw.h
hermes.c orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
hermes.h orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
hermes_dld.c orinoco_usb: implement fw download 2010-05-03 14:53:09 -04:00
hermes_dld.h
hermes_rid.h
hw.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-05 16:14:16 -04:00
hw.h net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
Kconfig orinoco: add orinoco_usb driver 2010-05-03 14:53:08 -04:00
main.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
main.h orinoco: use cfg80211_find_ie 2010-04-19 16:41:42 -04:00
Makefile orinoco: add orinoco_usb driver 2010-05-03 14:53:08 -04:00
mic.c
mic.h
orinoco.h orinoco: refactor xmit path 2010-05-07 14:55:49 -04:00
orinoco_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
orinoco_nortel.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_pci.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_pci.h
orinoco_plx.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_tmd.c orinoco: allow driver to specify netdev_ops 2010-05-03 14:53:06 -04:00
orinoco_usb.c drivers/net/wireless/orinoco: Use kzalloc 2010-06-02 16:13:01 -04:00
scan.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
scan.h
spectrum_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
wext.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-05 16:14:16 -04:00
wext.h