diff options
author | 2021-04-09 19:53:39 +0800 | |
---|---|---|
committer | 2021-04-09 16:47:41 -0700 | |
commit | 524e001b7dcaf50ade6eb115745561a46e374b06 (patch) | |
tree | aad7912833a2a98c86ff3f92a5286d5592eb91d5 /drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h | |
parent | Merge branch 'net-make-phy-pm-ops-a-no-op-if-mac-driver-manages-phy-pm' (diff) | |
download | linux-524e001b7dcaf50ade6eb115745561a46e374b06.tar.gz linux-524e001b7dcaf50ade6eb115745561a46e374b06.tar.bz2 linux-524e001b7dcaf50ade6eb115745561a46e374b06.zip |
cxgb4: remove unneeded if-null-free check
Eliminate the following coccicheck warning:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c:529:3-9: WARNING:
NULL check before some freeing functions is not needed.
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c:533:2-8: WARNING:
NULL check before some freeing functions is not needed.
drivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.c:161:2-7: WARNING:
NULL check before some freeing functions is not needed.
drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c:327:3-9: WARNING:
NULL check before some freeing functions is not needed.
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Link: https://lore.kernel.org/r/20210409115339.4598-1-linqiheng@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h')
0 files changed, 0 insertions, 0 deletions