1
linux/drivers/net/atlx
Ingo Molnar a098397d56 atlx: fix warning in drivers/net/atlx/atl2.c
fix this warning:

  drivers/net/atlx/atl2.c: In function ‘atl2_request_irq’:
  drivers/net/atlx/atl2.c:644: warning: unused variable ‘err’

'err' is unused in the !CONFIG_PCI_MSI case.

Instead of further increasing the #ifdeffery in this function,
restructure the code a bit and get rid of the #ifdef. This
relies on the fact that pci_enable_msi() will always fail in
the !CONFIG_PCI_MSI case.

There should be no change in driver behavior.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-25 17:00:05 -08:00
..
atl1.c netdev: add more functions to netdevice ops 2008-11-20 20:14:53 -08:00
atl1.h atlx: timer cleanup 2008-11-02 08:00:15 -05:00
atl2.c atlx: fix warning in drivers/net/atlx/atl2.c 2008-11-25 17:00:05 -08:00
atl2.h atlx: use embedded net_device_stats 2008-11-02 07:59:55 -05:00
atlx.c atlx: use embedded net_device_stats 2008-11-02 07:59:55 -05:00
atlx.h atl1: bump version number 2008-05-13 01:30:25 -04:00
Makefile atl2: add atl2 driver 2008-09-18 11:34:52 -04:00