]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2901fcd93f9179ab275675bf7c5f06e33ac5e826
treecd8717fe711205936b6923be84af580752d4b860
parent7fa1dd9edca925aeead5ca0537caaee5c43ddf42
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