ath5k: cleanup ath5k_hw struct
authorBob Copeland <me@bobcopeland.com>
Thu, 11 Jun 2009 02:22:20 +0000 (22:22 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:41 +0000 (14:57 -0400)
commit46026e8f487c075f9ec4d671348e351eb5e46d3e
tree441d26a2ad9e6434114718fe14fe597732743682
parent8a46097a6c60dc9d2f09bf01734f3308142614b3
ath5k: cleanup ath5k_hw struct

ah_gpios array isn't used, and ah_current_channel can be a pointer
instead of an embedded struct.  Removing these and some other
write-only variables, and moving some things around for better
packing and cache utilization saves 116 bytes.

   text    data     bss     dec     hex filename
 121762     472      64  122298   1ddba ath5k_before.ko
 121646     472      64  122182   1dd46 ath5k.ko

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/phy.c
drivers/net/wireless/ath/ath5k/reset.c