net/mlx5e: mlx5_tc_ct_init does not fail
authorSaeed Mahameed <saeedm@nvidia.com>
Tue, 16 Feb 2021 21:42:22 +0000 (13:42 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 11 Mar 2021 22:35:14 +0000 (14:35 -0800)
commit51ada5a52379e4dbf69cba70be6a348413f7a01f
treee677a2fbaca5829bb79344c88fc3f38e2014584a
parentfbeab6be054c60d935578ad8c35885c29a958a04
net/mlx5e: mlx5_tc_ct_init does not fail

mlx5_tc_ct_init() either returns a valid pointer or a NULL, either way
the caller can continue, remove IS_ERR check from callers as it has no
effect.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c