mwifiex: replace kmalloc & memcpy sequence with kmemdup
authorYogesh Ashok Powar <yogeshp@marvell.com>
Mon, 29 Aug 2011 20:21:10 +0000 (13:21 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:42:32 +0000 (15:42 -0400)
commit5982b47aa410e6aef55a5b0087269f5c9c172110
treed23936da1e56446d80cc626d50311e4e7ba53efc
parent3459731a39894e5377283b3ccf2fede54e19aae1
mwifiex: replace kmalloc & memcpy sequence with kmemdup

Sequence of kmalloc/kzalloc and memcpy is replaced with
kmemdup.

Cc: Walter Harms <wharms@bfs.de>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/join.c
drivers/net/wireless/mwifiex/scan.c
drivers/net/wireless/mwifiex/sta_ioctl.c