[PATCH][next] drm/dp: remove redundant check on ret and return statement
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Wed Aug 13 18:48:41 UTC 2025
On Wed, Aug 13, 2025 at 04:12:43PM +0100, Colin Ian King wrote:
> There is a redundant check on return and a return statement after
> a previous return statement from the call to drm_dp_dpcd_write_byte.
> These statements are redundant and can be removed. Remove the
> statements and the now unused variable ret.
>
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
> ---
> drivers/gpu/drm/display/drm_dp_helper.c | 5 -----
> 1 file changed, 5 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list