From: Colin Ian King Date: Wed, 2 Jul 2025 08:48:44 +0000 (+0100) Subject: drm/tidss: remove redundant assignment to variable ret X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=852bb7c08c134162b7063d1fdf9b1cc1ba839d0c;p=users%2Fhch%2Fmisc.git drm/tidss: remove redundant assignment to variable ret The assignment of zero to variable is redundant as the following continue statement loops back to the start of the loop where ret is assigned a new value from the return to the call to get_parent_dss_vp. Remove assignment. Signed-off-by: Colin Ian King Link: https://lore.kernel.org/r/20250702084844.966199-1-colin.i.king@gmail.com Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/gpu/drm/tidss/tidss_oldi.c b/drivers/gpu/drm/tidss/tidss_oldi.c index 8f25159d0666..7688251beba2 100644 --- a/drivers/gpu/drm/tidss/tidss_oldi.c +++ b/drivers/gpu/drm/tidss/tidss_oldi.c @@ -464,7 +464,6 @@ int tidss_oldi_init(struct tidss_device *tidss) * which may still be connected. * Continue to search for that. */ - ret = 0; continue; } goto err_put_node;