Commit 3f30fc15 authored by Gustavo F. Padovan's avatar Gustavo F. Padovan Committed by David S. Miller

net: remove last uses of __attribute__((packed))

Network code uses the __packed macro instead of __attribute__((packed)).
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 942875ff
...@@ -412,7 +412,7 @@ struct ieee80211_tx_rate { ...@@ -412,7 +412,7 @@ struct ieee80211_tx_rate {
s8 idx; s8 idx;
u8 count; u8 count;
u8 flags; u8 flags;
} __attribute__((packed)); } __packed;
/** /**
* struct ieee80211_tx_info - skb transmit information * struct ieee80211_tx_info - skb transmit information
......
...@@ -469,7 +469,7 @@ struct arp_payload { ...@@ -469,7 +469,7 @@ struct arp_payload {
__be32 src_ip; __be32 src_ip;
u_int8_t dst_hw[ETH_ALEN]; u_int8_t dst_hw[ETH_ALEN];
__be32 dst_ip; __be32 dst_ip;
} __attribute__ ((packed)); } __packed;
#ifdef DEBUG #ifdef DEBUG
static void arp_print(struct arp_payload *payload) static void arp_print(struct arp_payload *payload)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment