From: Heiner Kallweit Date: Mon, 19 Nov 2018 21:38:22 +0000 (+0100) Subject: r8169: remove manual padding in struct ring_info X-Git-Tag: Ubuntu-5.10.0-12.13~6343^2~254^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ad45ff0c12e530dd52b8c9ecc46959fb4e468e2b;p=mirror_ubuntu-hirsute-kernel.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index f7a6b18ee42d..0f74576db989 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -603,7 +603,6 @@ struct RxDesc { struct ring_info { struct sk_buff *skb; u32 len; - u8 __pad[sizeof(void *) - sizeof(u32)]; }; struct rtl8169_counters {