7 Oct 16:28
[PATCH ] mac80211: remove unused declaration of struct sta_attribute.
From: Rami Rosen <ramirose@...>
Subject: [PATCH ] mac80211: remove unused declaration of struct sta_attribute.
Newsgroups: gmane.linux.kernel.wireless.general
Date: 2008-10-07 14:29:11 GMT
Subject: [PATCH ] mac80211: remove unused declaration of struct sta_attribute.
Newsgroups: gmane.linux.kernel.wireless.general
Date: 2008-10-07 14:29:11 GMT
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)
{
RSS Feed