diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-11-19 22:38:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-19 17:32:15 -0800 |
commit | ad45ff0c12e530dd52b8c9ecc46959fb4e468e2b (patch) | |
tree | ee1483d869dbb2ca2c243c792e63f4eeaf3ab1c3 /drivers/net/ethernet/realtek | |
parent | b10ceb55710dd2574fd61ed54fd94aab263f4af3 (diff) | |
download | linux-ad45ff0c12e530dd52b8c9ecc46959fb4e468e2b.tar.gz linux-ad45ff0c12e530dd52b8c9ecc46959fb4e468e2b.tar.bz2 linux-ad45ff0c12e530dd52b8c9ecc46959fb4e468e2b.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/realtek')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 { |