mirror of https://gitee.com/openkylin/linux.git
qlcnic: Fix sparse warning.
This patch fixes warning "warning: symbol 'qlcnic_set_dcb_ops' was not declared. Should it be static?" Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
80aa4e1096
commit
0996b7dfc3
|
@ -248,7 +248,7 @@ static inline void __qlcnic_init_dcbnl_ops(struct qlcnic_adapter *adapter)
|
|||
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))
|
||||
adapter->dcb->ops = &qlcnic_82xx_dcb_ops;
|
||||
|
|
Loading…
Reference in New Issue