qlcnic: fix build error
Fix the following error reported by kbuild test robot. static declaration of 'qlcnic_restore_indev_addr' follows non-static declaration. Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com> Signed-off-by: Sony Chacko <sony.chacko@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
47caf25524
commit
f8ca2b6f03
1 changed files with 1 additions and 2 deletions
|
@ -3281,8 +3281,7 @@ static struct notifier_block qlcnic_inetaddr_cb = {
|
||||||
.notifier_call = qlcnic_inetaddr_event,
|
.notifier_call = qlcnic_inetaddr_event,
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
static void
|
void qlcnic_restore_indev_addr(struct net_device *dev, unsigned long event)
|
||||||
qlcnic_restore_indev_addr(struct net_device *dev, unsigned long event)
|
|
||||||
{ }
|
{ }
|
||||||
#endif
|
#endif
|
||||||
static struct pci_error_handlers qlcnic_err_handler = {
|
static struct pci_error_handlers qlcnic_err_handler = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue