]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc587b018ed6b9795838fb542b8cde6de2687758
treeaf8e9d6f935f62e453ec84a554d39a374ddcb053
parent976ac3f67443ddbbce84be1a4ac5eca994f1b51e
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