ath9k: save a few calls to ath9k_regd_get_eepromRD
authorBob Copeland <me@bobcopeland.com>
Thu, 12 Feb 2009 18:38:54 +0000 (13:38 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:51:47 +0000 (14:51 -0500)
commite775aaf07a72eafdb352a984d820612dd76eab8c
tree77bbec17713a175d8200d27d94a5a21f785fe437
parent63a7c8e254651d1080809de22f0db3ac70fbf914
ath9k: save a few calls to ath9k_regd_get_eepromRD

Since we already have a stack variable to track the eeprom regd,
we can grab it up front it and save three calls to fetch it again.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/regd.c