* [PATCH 0/1] net/{octeon_ep,enetfec}: remove unused value
@ 2024-12-18 20:00 Ariel Otilibili
2024-12-18 20:00 ` [PATCH 1/1] " Ariel Otilibili
0 siblings, 1 reply; 2+ messages in thread
From: Ariel Otilibili @ 2024-12-18 20:00 UTC (permalink / raw)
To: dev
Cc: Ariel Otilibili, stable, Vamsi Attunuru, Apeksha Gupta,
Sachin Saxena, Thomas Monjalon, David Marchand
Hello,
This patch clears out the Coverity issues 385414 & 374016.
Thank you,
Ariel Otilibili (1):
net/{octeon_ep,enetfec}: remove unused value
drivers/net/enetfec/enet_ethdev.c | 1 -
drivers/net/octeon_ep/otx_ep_mbox.c | 3 ---
2 files changed, 4 deletions(-)
--
2.47.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] net/{octeon_ep,enetfec}: remove unused value
2024-12-18 20:00 [PATCH 0/1] net/{octeon_ep,enetfec}: remove unused value Ariel Otilibili
@ 2024-12-18 20:00 ` Ariel Otilibili
0 siblings, 0 replies; 2+ messages in thread
From: Ariel Otilibili @ 2024-12-18 20:00 UTC (permalink / raw)
To: dev
Cc: Ariel Otilibili, Thomas Monjalon, David Marchand, stable,
Vamsi Attunuru, Apeksha Gupta, Sachin Saxena
Coverity issue: 385414, 374016
Fixes: c836a7ba33e ("net/octeon_ep: support mailbox between VF and PF")
Fixes: bb5b5bf1e5c ("net/enetfec: support queue configuration")
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
--
Cc: stable@dpdk.org
Cc: Vamsi Attunuru <vattunuru@marvell.com>
Cc: Apeksha Gupta <apeksha.gupta@nxp.com>
Cc: Sachin Saxena <sachin.saxena@nxp.com>
---
drivers/net/enetfec/enet_ethdev.c | 1 -
drivers/net/octeon_ep/otx_ep_mbox.c | 3 ---
2 files changed, 4 deletions(-)
diff --git a/drivers/net/enetfec/enet_ethdev.c b/drivers/net/enetfec/enet_ethdev.c
index 91c0f60490..0d27b63953 100644
--- a/drivers/net/enetfec/enet_ethdev.c
+++ b/drivers/net/enetfec/enet_ethdev.c
@@ -415,7 +415,6 @@ enetfec_tx_queue_setup(struct rte_eth_dev *dev,
offset_des_active_txq[queue_idx];
bd_base = (struct bufdesc *)(((uintptr_t)bd_base) + size);
txq->bd.last = (struct bufdesc *)(((uintptr_t)bd_base) - dsize);
- bdp = txq->bd.base;
bdp = txq->bd.cur;
for (i = 0; i < txq->bd.ring_size; i++) {
diff --git a/drivers/net/octeon_ep/otx_ep_mbox.c b/drivers/net/octeon_ep/otx_ep_mbox.c
index 64a51c1fd0..1d7e08d2cc 100644
--- a/drivers/net/octeon_ep/otx_ep_mbox.c
+++ b/drivers/net/octeon_ep/otx_ep_mbox.c
@@ -256,9 +256,6 @@ int otx_ep_mbox_get_link_info(struct rte_eth_dev *eth_dev,
}
link->link_status = RTE_ETH_LINK_UP;
link->link_duplex = RTE_ETH_LINK_FULL_DUPLEX;
- link->link_autoneg = (link_info.autoneg ==
- OTX_EP_LINK_AUTONEG) ? RTE_ETH_LINK_AUTONEG : RTE_ETH_LINK_FIXED;
-
link->link_autoneg = link_info.autoneg;
link->link_speed = link_info.speed;
return 0;
--
2.47.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-18 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-18 20:00 [PATCH 0/1] net/{octeon_ep,enetfec}: remove unused value Ariel Otilibili
2024-12-18 20:00 ` [PATCH 1/1] " Ariel Otilibili
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).