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

index 09c89bdc3cc991d23589328a18412a71dc74fb89..4917b58e8f570831135ed5bf5f9d63853d4b985d 100644 (file)
@@ -537,17 +537,6 @@ static void ipoib_poll ( struct net_device *netdev ) {
        ib_poll_eq ( ibdev );
 }
 
-/**
- * Enable/disable interrupts on IPoIB network device
- *
- * @v netdev           Network device
- * @v enable           Interrupts should be enabled
- */
-static void ipoib_irq ( struct net_device *netdev __unused,
-                       int enable __unused ) {
-       /* No implementation */
-}
-
 /**
  * Handle IPv4 broadcast multicast group join completion
  *
@@ -730,7 +719,6 @@ static struct net_device_operations ipoib_operations = {
        .close          = ipoib_close,
        .transmit       = ipoib_transmit,
        .poll           = ipoib_poll,
-       .irq            = ipoib_irq,
 };
 
 /**