rtlwifi: rtl8192cu: Remove unused parameter
authorMike McCormack <mikem@ring3k.org>
Mon, 20 Jun 2011 01:46:05 +0000 (10:46 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Jun 2011 19:47:43 +0000 (15:47 -0400)
commit4b9d8d67b44aae18e1c4b71281f5cfc0f2105cf6
tree7cc543a892d29f7a2f05ed629d4c8eb07b107f85
parent9c0504403725ca77153a0bdad2f3bef0a05e32f0
rtlwifi: rtl8192cu: Remove unused parameter

rtl_ps_set_rf_state's protect_or_not parameter is not set to
true anywhere, except for commented out code.

It enables some legacy locking code, which is no longer used,
so delete the parameter and the old locking code.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/ps.c
drivers/net/wireless/rtlwifi/ps.h
drivers/net/wireless/rtlwifi/rtl8192se/hw.c