[PATCH net-next] bnxt_en: Remove not used other ULP define

From: Leon Romanovsky
Date: Fri Oct 29 2021 - 13:18:25 EST


From: Leon Romanovsky <leonro@xxxxxxxxxx>

There is only one bnxt ULP in the upstream kernel and definition
for other ULP can be safely removed.

Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
---
This is not intrusive version of this patch [1] that will allow us
remove all this indirection.

[1] https://lore.kernel.org/linux-rdma/20210401065715.565226-6-leon@xxxxxxxxxx/
---
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h
index 6b4d2556a6df..54d59f681b86 100644
--- a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h
+++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h
@@ -11,8 +11,7 @@
#define BNXT_ULP_H

#define BNXT_ROCE_ULP 0
-#define BNXT_OTHER_ULP 1
-#define BNXT_MAX_ULP 2
+#define BNXT_MAX_ULP 1

#define BNXT_MIN_ROCE_CP_RINGS 2
#define BNXT_MIN_ROCE_STAT_CTXS 1
--
2.31.1