From a222518b1511bc15ff1f3577f57cb996d09b07b2 Mon Sep 17 00:00:00 2001 From: Lang Cheng Date: Tue, 9 Nov 2021 20:40:57 +0800 Subject: [PATCH] libhns: Remove unused macros [ Upstream commit 054392a1135abc28107a0dd52fd5bb0cce23c2b5 ] 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 Signed-off-by: Nicolas Morey-Chaisemartin --- 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 15e52f6e6..a6d3e9461 100644 --- a/providers/hns/hns_roce_u.c +++ b/providers/hns/hns_roce_u.c @@ -41,9 +41,6 @@ #include "hns_roce_u.h" #include "hns_roce_u_abi.h" -#define HID_LEN 15 -#define DEV_MATCH_LEN 128 - #ifndef PCI_VENDOR_ID_HUAWEI #define PCI_VENDOR_ID_HUAWEI 0x19E5 #endif