diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-02-10 16:43:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-14 04:23:39 +0100 |
commit | fb585b44383c4cff85f92e67377ee1c5f07d6dc1 (patch) | |
tree | d4fd25ce57198133f90c637abdd578094725b587 /lib/pci_iomap.c | |
parent | net: busy-poll: remove LL_FLUSH_FAILED and LL_FLUSH_BUSY (diff) | |
download | linux-fb585b44383c4cff85f92e67377ee1c5f07d6dc1.tar.xz linux-fb585b44383c4cff85f92e67377ee1c5f07d6dc1.zip |
net: make net_device members garp_port and mrp_port conditional
garp_port is only used in net/802/garp.c which is only compiled with
CONFIG_GARP enabled. Same goes for mrp_port which is only used in
net/802/mrp.c with CONFIG_MRP enabled.
Only include the two members in struct net_device if their respective
CONFIG_* is enabled. This saves a few bytes in struct net_device in case
CONFIG_GARP or CONFIG_MRP are not enabled.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/pci_iomap.c')
0 files changed, 0 insertions, 0 deletions