iwlagn: iwl-agn-rs: remove unnecessary null check for sta and lq_sta
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>
Wed, 28 Sep 2011 22:54:04 +0000 (17:54 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:57:04 +0000 (15:57 -0400)
commita76011e2cbb6915f60488477311e0f269cee6496
treecd8717fe711205936b6923be84af580752d4b860
parent90826313fd69d198da7574779460f793765abfa5
iwlagn: iwl-agn-rs: remove unnecessary null check for sta and lq_sta

both sta and lq_sta are guaranteed to be not null in the
calling function so we don't need to check them here.

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c