r8169: remove manual padding in struct ring_info
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 19 Nov 2018 21:38:22 +0000 (22:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:32:15 +0000 (17:32 -0800)
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>
drivers/net/ethernet/realtek/r8169.c

index f7a6b18ee42d100442d06ffbf3f93d39d910bc33..0f74576db9890a065b8d752a526da67b3e430915 100644 (file)
@@ -603,7 +603,6 @@ struct RxDesc {
 struct ring_info {
        struct sk_buff  *skb;
        u32             len;
-       u8              __pad[sizeof(void *) - sizeof(u32)];
 };
 
 struct rtl8169_counters {