]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
net: remove last uses of __attribute__((packed))
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Jul 2010 10:59:58 +0000 (10:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2010 21:44:29 +0000 (14:44 -0700)
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>
include/net/mac80211.h
net/ipv4/netfilter/ipt_CLUSTERIP.c

index 7f256e23c57f5aece4a14b069790cc3b920a2d5f..23e46cee06f99353215a864c2a9ee324347671a8 100644 (file)
@@ -412,7 +412,7 @@ struct ieee80211_tx_rate {
        s8 idx;
        u8 count;
        u8 flags;
-} __attribute__((packed));
+} __packed;
 
 /**
  * struct ieee80211_tx_info - skb transmit information
index 64d0875f519245762748055f40be0cc291be7e3c..3a43cf36db8701f9b8a99317a60da0e3ac2ad8f4 100644 (file)
@@ -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)