]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
eth: fbnic: remove duplicate FBNIC_MAX_.XQS macros
authorJakub Kicinski <kuba@kernel.org>
Tue, 24 Jun 2025 14:28:30 +0000 (07:28 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 26 Jun 2025 12:56:14 +0000 (14:56 +0200)
Somehow we ended up with two copies of FBNIC_MAX_[TR]XQS in fbnic_txrx.h.
Remove the one mixed with the struct declarations.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250624142834.3275164-2-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_txrx.h

index f46616af41eac4ad1646b5fa3ce4291d8acc7af4..2e361d6f03ff178c4fc1557ba7009c716c8d6b19 100644 (file)
@@ -141,9 +141,6 @@ struct fbnic_napi_vector {
        struct fbnic_q_triad qt[];
 };
 
-#define FBNIC_MAX_TXQS                 128u
-#define FBNIC_MAX_RXQS                 128u
-
 netdev_tx_t fbnic_xmit_frame(struct sk_buff *skb, struct net_device *dev);
 netdev_features_t
 fbnic_features_check(struct sk_buff *skb, struct net_device *dev,