projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b10ceb5
)
r8169: remove manual padding in struct ring_info
author
Heiner Kallweit
<hkallweit1@gmail.com>
Mon, 19 Nov 2018 21:38:22 +0000
(22:38 +0100)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index f7a6b18ee42d100442d06ffbf3f93d39d910bc33..0f74576db9890a065b8d752a526da67b3e430915 100644
(file)
--- 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 {