mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 01:26:29 +07:00
r8169: remove manual padding in struct ring_info
The compiler takes care of alignment and padding, I see no need to bother him with manual hints. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b10ceb5571
commit
ad45ff0c12
@ -603,7 +603,6 @@ struct RxDesc {
|
|||||||
struct ring_info {
|
struct ring_info {
|
||||||
struct sk_buff *skb;
|
struct sk_buff *skb;
|
||||||
u32 len;
|
u32 len;
|
||||||
u8 __pad[sizeof(void *) - sizeof(u32)];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct rtl8169_counters {
|
struct rtl8169_counters {
|
||||||
|
Loading…
Reference in New Issue
Block a user