Re: [PATCH] ethdev: remove dead code in telemetry handler

2022-02-14 Thread Ferruh Yigit
On 2/12/2022 12:36 PM, Gowrishankar Muthukrishnan wrote: In telemetry handler for port info, there is no need to check if eth_dev object of a port id is not null, as it had already been evaluated once in rte_eth_dev_is_valid_port function. Fixes: 58b43c1ddfd1 ("ethdev: add telemetry endpoint for

[PATCH] ethdev: remove dead code in telemetry handler

2022-02-12 Thread Gowrishankar Muthukrishnan
In telemetry handler for port info, there is no need to check if eth_dev object of a port id is not null, as it had already been evaluated once in rte_eth_dev_is_valid_port function. Fixes: 58b43c1ddfd1 ("ethdev: add telemetry endpoint for device info") Coverity issue: 373635 Signed-off-by: Gowri