]> git.karo-electronics.de Git - linux-beck.git/commit
mwifiex: optimize driver initialization code
authorAmitkumar Karwar <akarwar@marvell.com>
Sat, 16 Apr 2011 03:50:42 +0000 (20:50 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Apr 2011 19:38:04 +0000 (15:38 -0400)
commit2be7859f41e9bcef5b15bd23d63e01536344e3df
tree3c7dcec98f5811731fa4209d9d52d504bc4de036
parenta37316586d926a10d66b5585c5d91683d6468f68
mwifiex: optimize driver initialization code

1) removal of unnecessary mwifiex_device structure
2) avoid passing adapter pointer to mwifiex_init_sw()
3) remove local variable drv_mode_info in mwifiex_add_card()
4) type change in mwifiex_bss_attr to match mwifiex_private
5) removal of more wordy comments

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/decl.h
drivers/net/wireless/mwifiex/main.c
drivers/net/wireless/mwifiex/main.h