summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/zd1211rw/zd_ieee80211.h
diff options
context:
space:
mode:
authorUlrich Kunitz <kune@deine-taler.de>2006-08-29 23:51:43 +0100
committerJohn W. Linville <linville@tuxdriver.com>2006-09-11 19:34:01 -0400
commit4e1bbd846d00a245dcf78b6b331d8a9afed8e6d7 (patch)
tree5eaca587cf00eef0f27a11a43220ffe602c25c4f /drivers/net/wireless/zd1211rw/zd_ieee80211.h
parentfc3e39bef9ef5eb594ab2a35206b9b049c36320a (diff)
[PATCH] zd1211rw: Removed unneeded packed attributes
Inspired by an e-mail by Stephen Hemminger I decided to remove all unneeded packed attributes from the code where the member variables are already aligned. This avoids horrible code being generated on some architectures. Signed-off-by: Ulrich Kunitz <kune@deine-taler.de> Signed-off-by: Daniel Drake <dsd@gentoo.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_ieee80211.h')
-rw-r--r--drivers/net/wireless/zd1211rw/zd_ieee80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_ieee80211.h b/drivers/net/wireless/zd1211rw/zd_ieee80211.h
index 36329890dfec..f63245b0d966 100644
--- a/drivers/net/wireless/zd1211rw/zd_ieee80211.h
+++ b/drivers/net/wireless/zd1211rw/zd_ieee80211.h
@@ -64,7 +64,7 @@ struct cck_plcp_header {
u8 service;
__le16 length;
__le16 crc16;
-} __attribute__((packed));
+};
static inline u8 zd_cck_plcp_header_rate(const struct cck_plcp_header *header)
{