Rami Rosen | 7 Oct 16:28

[PATCH ] mac80211: remove unused declaration of struct sta_attribute.

This patch removes unused definition of struct sta_attribute
in net/mac80211/ieee80211_i.h. (for the wireless-next-2.6 tree).

Signed-off-by: Rami Rosen <ramirose@...>
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 8025b29..d817725 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -871,11 +871,6 @@ static inline struct ieee80211_hw *local_to_hw(
 	return &local->hw;
 }

-struct sta_attribute {
-	struct attribute attr;
-	ssize_t (*show)(const struct sta_info *, char *buf);
-	ssize_t (*store)(struct sta_info *, const char *buf, size_t count);
-};

 static inline int ieee80211_bssid_match(const u8 *raddr, const u8 *addr)
 {
Johannes Berg | 7 Oct 19:44
Favicon

Re: [PATCH ] mac80211: remove unused declaration of struct sta_attribute.

On Tue, 2008-10-07 at 16:29 +0200, Rami Rosen wrote:
> This patch removes unused definition of struct sta_attribute
> in net/mac80211/ieee80211_i.h. (for the wireless-next-2.6 tree).
> 
> Signed-off-by: Rami Rosen <ramirose@...>

Acked-by: Johannes Berg <johannes@...>


Gmane