Arnd Bergmann
0a327889f6
cxgb4: hide unused warnings
...
The two new variables are only used inside of an #ifdef and cause
harmless warnings when that is disabled:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function 'init_one':
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:4646:9: error: unused variable 'port_vec' [-Werror=unused-variable]
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:4646:6: error: unused variable 'v' [-Werror=unused-variable]
This adds another #ifdef around the declarations.
Fixes: 96fe11f27b ("cxgb4: Implement ndo_get_phys_port_id for mgmt dev")
Signed-off-by: Arnd Bergmann <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2017-01-20 11:16:57 -05:00
..
appletalk
net/appletalk: Fix kernel memory disclosure
2017-01-09 16:34:39 -05:00
arcnet
bonding
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
caif
can
cris
dsa
net: dsa: mv88e6xxx: add EEPROM support to 6390
2017-01-13 20:17:01 -05:00
ethernet
cxgb4: hide unused warnings
2017-01-20 11:16:57 -05:00
fddi
fjes
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
hamradio
hippi
hyperv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-01-17 15:19:37 -05:00
ieee802154
ieee802154: atusb: fix driver to work with older firmware versions
2017-01-12 22:12:43 +01:00
ipvlan
ipvlan: fix dev_id creation corner case.
2017-01-16 14:04:43 -05:00
irda
net: Remove usage of net_device last_rx member
2017-01-18 17:22:49 -05:00
phy
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-01-17 15:19:37 -05:00
plip
ppp
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
slip
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
team
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
usb
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-01-17 15:19:37 -05:00
vmxnet3
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
wan
wimax
wireless
For 4.11, we seem to have more than in the past few releases:
2017-01-14 12:02:15 -05:00
xen-netback
dummy.c
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
eql.c
geneve.c
gtp.c
ifb.c
net-tc: convert tc_from to tc_from_ingress and tc_redirected
2017-01-08 20:58:52 -05:00
Kconfig
LICENSE.SRC
loopback.c
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
macsec.c
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
macvlan.c
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
macvtap.c
Makefile
mdio.c
net: mdio: add mdio45_ethtool_ksettings_get
2017-01-02 16:59:10 -05:00
mii.c
netconsole.c
nlmon.c
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c
tun: rx batching
2017-01-18 16:35:30 -05:00
veth.c
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
virtio_net.c
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00
vrf.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-01-11 14:43:39 -05:00
vxlan.c
vxlan: Set ports in flow key when doing route lookups
2017-01-11 16:09:47 -05:00
xen-netfront.c
net: make ndo_get_stats64 a void function
2017-01-08 17:51:44 -05:00