err_ptr_deref: silence mlx5_eswitch_get_vport() warnings
commitf839c602c27a00cf8494735655faa84f93d0f303
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 25 Sep 2023 11:55:14 +0000 (25 14:55 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Mon, 25 Sep 2023 11:55:14 +0000 (25 14:55 +0300)
treee4dd22d45cd49c22ab70d425d1f98ad1e269a40d
parentc204009a4c699e05c19926d5298920d4ade9ea85
err_ptr_deref: silence mlx5_eswitch_get_vport() warnings

The mlx5_eswitch_get_vport() function doesn't necessarily need to be
checked.  Once it succeeds the first time, then the second time will work
as well so no need to check.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
check_err_ptr_deref.c