aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2025-07-17 11:21:08 +0000
committerLeon Romanovsky <[email protected]>2025-07-17 12:19:19 +0000
commitaee80e6ffc5878a90ca5c16760b2c4f3f3d7343f (patch)
tree6a4959b056487cdacb59fe6514858b819bf3fa62 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentRDMA/mana_ib: add additional port counters (diff)
downloadkernel-aee80e6ffc5878a90ca5c16760b2c4f3f3d7343f.tar.gz
kernel-aee80e6ffc5878a90ca5c16760b2c4f3f3d7343f.zip
RDMA/mlx5: remove redundant check on err on return expression
Currently all paths that set err and then check it for an error perform immediate returns, hence err always zero at the end of the function _mlx5r_umr_zap_mkey. The return expression err ? err : nblocks has a redundant check on the err since err is always zero, so just return nblocks instead. Signed-off-by: Colin Ian King <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions