]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ath9k_hw: remove a useless function for setting the mac address
authorFelix Fietkau <nbd@openwrt.org>
Sat, 12 Jun 2010 04:33:57 +0000 (00:33 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:31 +0000 (15:39 -0400)
commit96d159d03c5b849fa39dc7305e04ebf374085e4a
tree2191c3f77eed0a2e1357627b4614639d156819be
parent41f3e54d72cbf435f9ad04e02a10cd4597384841
ath9k_hw: remove a useless function for setting the mac address

ath9k_hw_setmac() only copies the mac address it is called with into
common->macaddr, yet in all call sites, the supplied mac address pointer
is already common->macaddr.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/recv.c