diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-07-21 10:59:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-21 14:44:29 -0700 |
commit | 3f30fc1570626f11e8f3efe5ebd41fe96e847ed1 (patch) | |
tree | 3a626c1887597942cd21202124b5e293dee226d5 | |
parent | 942875ffc102a6b9992120808e4990eda7a618f6 (diff) | |
download | blackbird-op-linux-3f30fc1570626f11e8f3efe5ebd41fe96e847ed1.tar.gz blackbird-op-linux-3f30fc1570626f11e8f3efe5ebd41fe96e847ed1.zip |
net: remove last uses of __attribute__((packed))
Network code uses the __packed macro instead of __attribute__((packed)).
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/mac80211.h | 2 | ||||
-rw-r--r-- | net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 7f256e23c57f..23e46cee06f9 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -412,7 +412,7 @@ struct ieee80211_tx_rate { s8 idx; u8 count; u8 flags; -} __attribute__((packed)); +} __packed; /** * struct ieee80211_tx_info - skb transmit information diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c b/net/ipv4/netfilter/ipt_CLUSTERIP.c index 64d0875f5192..3a43cf36db87 100644 --- a/net/ipv4/netfilter/ipt_CLUSTERIP.c +++ b/net/ipv4/netfilter/ipt_CLUSTERIP.c @@ -469,7 +469,7 @@ struct arp_payload { __be32 src_ip; u_int8_t dst_hw[ETH_ALEN]; __be32 dst_ip; -} __attribute__ ((packed)); +} __packed; #ifdef DEBUG static void arp_print(struct arp_payload *payload) |