diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-06-12 04:33:57 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 19:39:31 (GMT) |
commit | 96d159d03c5b849fa39dc7305e04ebf374085e4a (patch) | |
tree | 2191c3f77eed0a2e1357627b4614639d156819be /drivers/net/wireless/ath/ath9k/recv.c | |
parent | 41f3e54d72cbf435f9ad04e02a10cd4597384841 (diff) | |
download | linux-fsl-qoriq-96d159d03c5b849fa39dc7305e04ebf374085e4a.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 78ef1ae..da0cfe9 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -116,9 +116,6 @@ static void ath_opmode_init(struct ath_softc *sc) /* configure operational mode */ ath9k_hw_setopmode(ah); - /* Handle any link-level address change. */ - ath9k_hw_setmac(ah, common->macaddr); - /* calculate and install multicast filter */ mfilt[0] = mfilt[1] = ~0; ath9k_hw_setmcastfilter(ah, mfilt[0], mfilt[1]); |