Commit 0996b7df authored by Sucheta Chakraborty's avatar Sucheta Chakraborty Committed by David S. Miller

qlcnic: Fix sparse warning.

This patch fixes warning "warning: symbol 'qlcnic_set_dcb_ops' was
not declared. Should it be static?"
Signed-off-by: default avatarSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 80aa4e10
...@@ -248,7 +248,7 @@ static inline void __qlcnic_init_dcbnl_ops(struct qlcnic_adapter *adapter) ...@@ -248,7 +248,7 @@ static inline void __qlcnic_init_dcbnl_ops(struct qlcnic_adapter *adapter)
adapter->netdev->dcbnl_ops = &qlcnic_dcbnl_ops; adapter->netdev->dcbnl_ops = &qlcnic_dcbnl_ops;
} }
void qlcnic_set_dcb_ops(struct qlcnic_adapter *adapter) static void qlcnic_set_dcb_ops(struct qlcnic_adapter *adapter)
{ {
if (qlcnic_82xx_check(adapter)) if (qlcnic_82xx_check(adapter))
adapter->dcb->ops = &qlcnic_82xx_dcb_ops; adapter->dcb->ops = &qlcnic_82xx_dcb_ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment