mwifiex: remove redundant local structures
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 11 May 2011 03:47:35 +0000 (20:47 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 May 2011 18:50:42 +0000 (14:50 -0400)
commitc4859fbcfc12d5cfe8c30a33ad37d192a3093a7b
treeaf8e9d6f935f62e453ec84a554d39a374ddcb053
parent0fd82eafe3aa70937905b7e19e256409ae48477e
mwifiex: remove redundant local structures

Avoid use of local structure in the function if the structure is
already allocated by the caller and the structure pointer is passed.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sta_ioctl.c