iwlwifi: remove code repetition
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 4 Sep 2010 16:00:14 +0000 (09:00 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 11 Sep 2010 15:52:23 +0000 (08:52 -0700)
commit743e015dcbb428bf8454cf7d78272b4a76dd3c4b
tree08a112aa0c2fc14d78bf814fdad12cec5dd2c6a7
parent8f1d968721f9b3d4ff364bef0f33eb9697a6a7ee
iwlwifi: remove code repetition

Move the duplicated code into single static function.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c