aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-cfg.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-05 14:24:22 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-03-06 15:16:08 -0500
commit40e4e6868c532b439754154d69a2837dbf9bd91e (patch)
tree695900549dc52ed495b7ccc567ea621859903a9f /drivers/net/wireless/iwlwifi/iwl-cfg.h
parent71cb99241d63b26a41c9cce6ed441bc30f90224a (diff)
iwlwifi: simplify code in iwlagn_key_sta_id
Simplify the code by returning directly in the error case and replacing the switch/if with a single if statement. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-cfg.h')
0 files changed, 0 insertions, 0 deletions