Skip to content

Commit

Permalink
net: remove last uses of __attribute__((packed))
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gustavo F. Padovan authored and David S. Miller committed Jul 21, 2010
1 parent 942875f commit 3f30fc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ struct ieee80211_tx_rate {
s8 idx;
u8 count;
u8 flags;
} __attribute__((packed));
} __packed;

/**
* struct ieee80211_tx_info - skb transmit information
Expand Down
2 changes: 1 addition & 1 deletion net/ipv4/netfilter/ipt_CLUSTERIP.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3f30fc1

Please sign in to comment.