diff mbox

[rdma-core,1/4] libqedr: remove obsolete device IDs

Message ID 1493273468-23774-2-git-send-email-Ram.Amrani@cavium.com (mailing list archive)
State Accepted
Headers show

Commit Message

Amrani, Ram April 27, 2017, 6:11 a.m. UTC
The removed device IDs were never actually used.
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
---
 providers/qedr/qelr_main.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
diff mbox

Patch

diff --git a/providers/qedr/qelr_main.c b/providers/qedr/qelr_main.c
index ba70db9..9f3feda 100644
--- a/providers/qedr/qelr_main.c
+++ b/providers/qedr/qelr_main.c
@@ -58,10 +58,7 @@ 
 #define PCI_DEVICE_ID_QLOGIC_57980S_50  (0x1654)
 #define PCI_DEVICE_ID_QLOGIC_57980S_25  (0x1656)
 #define PCI_DEVICE_ID_QLOGIC_57980S_IOV (0x1664)
-#define PCI_DEVICE_ID_QLOGIC_AH_50G     (0x8070)
-#define PCI_DEVICE_ID_QLOGIC_AH_10G     (0x8071)
-#define PCI_DEVICE_ID_QLOGIC_AH_40G     (0x8072)
-#define PCI_DEVICE_ID_QLOGIC_AH_25G     (0x8073)
+#define PCI_DEVICE_ID_QLOGIC_AH         (0x8070)
 #define PCI_DEVICE_ID_QLOGIC_AH_IOV     (0x8090)
 
 uint32_t qelr_dp_level;
@@ -83,10 +80,7 @@  static const struct {
 	QHCA(57980S_50),
 	QHCA(57980S_25),
 	QHCA(57980S_IOV),
-	QHCA(AH_50G),
-	QHCA(AH_10G),
-	QHCA(AH_40G),
-	QHCA(AH_25G),
+	QHCA(AH),
 	QHCA(AH_IOV),
 };