[dpdk-dev] [PATCH] ethdev: remove unnecessary NULL check

Ferruh Yigit ferruh.yigit at intel.com
Thu Feb 10 12:14:21 CET 2022


On 2/9/2022 3:32 PM, Stephen Hemminger wrote:
> On Wed, 9 Feb 2022 20:24:10 +0800
> Yunjian Wang <wangyunjian at huawei.com> wrote:
> 
>> This NULL check is unnecessary, 'eth_dev' is never NULL.
>>
>> Fixes: 58b43c1ddfd1 ("ethdev: add telemetry endpoint for device info")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
> 
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list