Parcourir la source

[infiniband] Indicate that device does not support interrupts

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown il y a 13 ans
Parent
révision
3a9f0e0f84
1 fichiers modifiés avec 0 ajouts et 12 suppressions
  1. 0
    12
      src/drivers/net/ipoib.c

+ 0
- 12
src/drivers/net/ipoib.c Voir le fichier

@@ -537,17 +537,6 @@ static void ipoib_poll ( struct net_device *netdev ) {
537 537
 	ib_poll_eq ( ibdev );
538 538
 }
539 539
 
540
-/**
541
- * Enable/disable interrupts on IPoIB network device
542
- *
543
- * @v netdev		Network device
544
- * @v enable		Interrupts should be enabled
545
- */
546
-static void ipoib_irq ( struct net_device *netdev __unused,
547
-			int enable __unused ) {
548
-	/* No implementation */
549
-}
550
-
551 540
 /**
552 541
  * Handle IPv4 broadcast multicast group join completion
553 542
  *
@@ -730,7 +719,6 @@ static struct net_device_operations ipoib_operations = {
730 719
 	.close		= ipoib_close,
731 720
 	.transmit	= ipoib_transmit,
732 721
 	.poll		= ipoib_poll,
733
-	.irq		= ipoib_irq,
734 722
 };
735 723
 
736 724
 /**

Chargement…
Annuler
Enregistrer