From 2972cc1895a329ae977375d68b10d91f59167bbb Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 23 Jul 2011 09:28:56 -0400 Subject: ath5k: remove unused and write-only structures and fields struct ath5k_avg_val is unused. In struct ath5k_hw, lladdr, ah_radar and ah_mac_revision are write-only, rxbufsize is unused, ah_phy is write-only and referenced by unused macros. In struct ath5k_vif, lladdr is write-only. Remove AR5K_TUNE_RADAR_ALERT, which has no effect. Signed-off-by: Pavel Roskin Tested-by: Sedat Dilek Acked-by: Nick Kossifidis Signed-off-by: John W. Linville --- drivers/net/wireless/ath/ath5k/base.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/net/wireless/ath/ath5k/base.h') diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h index f23b003400b6..375df849b2e4 100644 --- a/drivers/net/wireless/ath/ath5k/base.h +++ b/drivers/net/wireless/ath/ath5k/base.h @@ -64,7 +64,6 @@ struct ath5k_vif { enum nl80211_iftype opmode; int bslot; struct ath5k_buf *bbuf; /* beacon buffer */ - u8 lladdr[ETH_ALEN]; }; struct ath5k_vif_iter_data { -- cgit v1.2.3