From 21d81f659d801230a1ccf1aadf9b1ecba5a3ccd8 Mon Sep 17 00:00:00 2001 From: Lang Cheng Date: Tue, 9 Nov 2021 20:40:57 +0800 Subject: libhns: Remove unused macros These macros used to work, but are no longer used, they should be removed. Fixes: 516b8d4e4ebe ("providers: Use the new match_device and allocate_device ops") Fixes: 887b78c80224 ("libhns: Add initial main frame") Signed-off-by: Lang Cheng Signed-off-by: Wenpeng Liang Signed-off-by: Leon Romanovsky --- providers/hns/hns_roce_u.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/providers/hns/hns_roce_u.c b/providers/hns/hns_roce_u.c index 3b31ad3..9dc4905 100644 --- a/providers/hns/hns_roce_u.c +++ b/providers/hns/hns_roce_u.c @@ -41,9 +41,6 @@ static void hns_roce_free_context(struct ibv_context *ibctx); -#define HID_LEN 15 -#define DEV_MATCH_LEN 128 - #ifndef PCI_VENDOR_ID_HUAWEI #define PCI_VENDOR_ID_HUAWEI 0x19E5 #endif -- 2.27.0