diff options
| author | Stephen Hemminger <shemminger@osdl.org> | 2005-03-10 02:41:27 -0800 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2005-03-10 02:41:27 -0800 |
| commit | 8a311d61c9f6f4936df0f8d3e7352774a0d8a072 (patch) | |
| tree | 934ac38ceacdbf94783e7cf7e78b026ba8af1e24 /include/linux/netdevice.h | |
| parent | 1f28b28aecfcb66a34bb535fb5172bdc6e56d90a (diff) | |
[NET]: Rearrange netdevice structure to save space.
Trivial reordering of netdevice structure to save four bytes.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index e8c838b717c2..cc7e12b07cdb 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -328,9 +328,7 @@ struct net_device unsigned short flags; /* interface flags (a la BSD) */ unsigned short gflags; unsigned short priv_flags; /* Like 'flags' but invisible to userspace. */ - unsigned short unused_alignment_fixer; /* Because we need priv_flags, - * and we want to be 32-bit aligned. - */ + unsigned short padded; /* How much padding added by alloc_netdev() */ unsigned mtu; /* interface MTU value */ unsigned short type; /* interface hardware type */ @@ -486,8 +484,6 @@ struct net_device /* class/net/name entry */ struct class_device class_dev; - /* how much padding had been added by alloc_netdev() */ - int padded; }; #define NETDEV_ALIGN 32 |
