mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 18:42:25 -04:00
[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>
This commit is contained in:
committed by
John W. Linville
parent
fc3e39bef9
commit
4e1bbd846d
@@ -714,7 +714,7 @@ struct zd_rt_hdr {
|
||||
u8 rt_rate;
|
||||
u16 rt_channel;
|
||||
u16 rt_chbitmask;
|
||||
} __attribute__((packed));
|
||||
};
|
||||
|
||||
static void fill_rt_header(void *buffer, struct zd_mac *mac,
|
||||
const struct ieee80211_rx_stats *stats,
|
||||
|
||||
Reference in New Issue
Block a user