瀏覽代碼

[infiniband] Indicate that device does not support interrupts

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 年之前
父節點
當前提交
3a9f0e0f84
共有 1 個檔案被更改,包括 0 行新增12 行删除
  1. 0
    12
      src/drivers/net/ipoib.c

+ 0
- 12
src/drivers/net/ipoib.c 查看文件

@@ -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
 /**

Loading…
取消
儲存