]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[hermon] Indicate that device does not support interrupts
authorMichael Brown <mcb30@ipxe.org>
Tue, 25 Jan 2011 14:20:26 +0000 (14:20 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 25 Jan 2011 14:25:09 +0000 (14:25 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/hermon.c

index 63cf7d8cedbdd6bfc9dbc3a54c91babbed1dda89..6e3955af773c168d338482d1b45eeee65d9b6b69 100644 (file)
@@ -2319,17 +2319,6 @@ static void hermon_eth_poll ( struct net_device *netdev ) {
        ib_poll_eq ( ibdev );
 }
 
-/**
- * Enable/disable interrupts on Hermon Ethernet device
- *
- * @v netdev           Network device
- * @v enable           Interrupts should be enabled
- */
-static void hermon_eth_irq ( struct net_device *netdev __unused,
-                            int enable __unused ) {
-       /* No implementation */
-}
-
 /**
  * Open Hermon Ethernet device
  *
@@ -2469,7 +2458,6 @@ static struct net_device_operations hermon_eth_operations = {
        .close          = hermon_eth_close,
        .transmit       = hermon_eth_transmit,
        .poll           = hermon_eth_poll,
-       .irq            = hermon_eth_irq,
 };
 
 /**