diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2007-05-17 15:29:07 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-17 20:43:15 -0400 |
commit | fb136c070bfdde11dc79758674f54fb26bba1a2f (patch) | |
tree | 3210ac72ce77727fe99e0365a26ad3fe64d7fde4 /drivers/net/ixgb/ixgb.h | |
parent | 4a79a04e4c0aa06b556b7d52bfb31c05fbb05616 (diff) |
ixgb: don't print error if pci_enable_msi() fails, cleanup minor leak
pci_enable_msi calls can fail for normal operational reasons. Driver
should not print an error message in that case. Fix a leak that leaves
msi enabled if pci_request_irq fails. We can remove CONFIG_PCI_MSI
ifdefs alltogether
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ixgb/ixgb.h')
-rw-r--r-- | drivers/net/ixgb/ixgb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb.h b/drivers/net/ixgb/ixgb.h index c8e90861f86..3569d5b0338 100644 --- a/drivers/net/ixgb/ixgb.h +++ b/drivers/net/ixgb/ixgb.h @@ -193,8 +193,6 @@ struct ixgb_adapter { u16 msg_enable; struct ixgb_hw_stats stats; uint32_t alloc_rx_buff_failed; -#ifdef CONFIG_PCI_MSI boolean_t have_msi; -#endif }; #endif /* _IXGB_H_ */ |