Skip to content

Commit 3f30fc1

Browse files
Gustavo F. Padovandavem330
authored andcommitted
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>
1 parent 942875f commit 3f30fc1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/net/mac80211.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ struct ieee80211_tx_rate {
412412
s8 idx;
413413
u8 count;
414414
u8 flags;
415-
} __attribute__((packed));
415+
} __packed;
416416

417417
/**
418418
* struct ieee80211_tx_info - skb transmit information

‎net/ipv4/netfilter/ipt_CLUSTERIP.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ struct arp_payload {
469469
__be32 src_ip;
470470
u_int8_t dst_hw[ETH_ALEN];
471471
__be32 dst_ip;
472-
} __attribute__ ((packed));
472+
} __packed;
473473

474474
#ifdef DEBUG
475475
static void arp_print(struct arp_payload *payload)

0 commit comments

Comments
 (0)