summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qede/qede_dcbnl.c
diff options
context:
space:
mode:
authorManish Chopra <Manish.Chopra@cavium.com>2017-05-23 09:41:18 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-24 15:17:19 -0400
commit48848a0690a36d0248255f6c3b7b6fd2a9948a57 (patch)
tree5cf23bcb580395eb936781d371e36178222365f1 /drivers/net/ethernet/qlogic/qede/qede_dcbnl.c
parent417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a (diff)
downloadlinux-48848a0690a36d0248255f6c3b7b6fd2a9948a57.tar.bz2
qede: Fix sparse warnings
Solves the following warning in qede - - Several cases of missing cpu_to_le16() conversions - Adds 'static' to one function declaration - Removes dcbnl operation that's currently getting populated twice Signed-off-by: Manish Chopra <Manish.Chopra@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qede/qede_dcbnl.c')
-rw-r--r--drivers/net/ethernet/qlogic/qede/qede_dcbnl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qede/qede_dcbnl.c b/drivers/net/ethernet/qlogic/qede/qede_dcbnl.c
index a9e7379313db..6e7747b9b95e 100644
--- a/drivers/net/ethernet/qlogic/qede/qede_dcbnl.c
+++ b/drivers/net/ethernet/qlogic/qede/qede_dcbnl.c
@@ -313,7 +313,6 @@ static const struct dcbnl_rtnl_ops qede_dcbnl_ops = {
.ieee_setets = qede_dcbnl_ieee_setets,
.ieee_getapp = qede_dcbnl_ieee_getapp,
.ieee_setapp = qede_dcbnl_ieee_setapp,
- .getdcbx = qede_dcbnl_getdcbx,
.ieee_peer_getpfc = qede_dcbnl_ieee_peer_getpfc,
.ieee_peer_getets = qede_dcbnl_ieee_peer_getets,
.getstate = qede_dcbnl_getstate,