Skip to contentSkip to conversation

bnxt_en: Remove not used other ULP define

PATCH Applied Leon Romanovsky 3 participants 3 messages Oct 29, 2021 – Oct 30, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bnxt_en: Remove not used other ULP define

From: Leon Romanovsky <[email protected]>

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

---
This is not intrusive version of this patch [1] that will allow us remove all this indirection.

[1] https://lore.kernel.org/linux-rdma/[email protected]/

---
 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h +1 -2
index 6b4d2556a6df..54d59f681b86 100644
@@ -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
Signature · 1 line
2.31.1
#2 lore raw
In reply to Leon Romanovsky
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Fri, 29 Oct 2021 20:18:15 +0300 you wrote:

From: Leon Romanovsky <[email protected]>

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

[...]

Here is the summary with links:
- [net-next] bnxt_en: Remove not used other ULP define

    https://git.kernel.org/netdev/net-next/c/d269287761ab

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html