Skip to content

Commit 852bb7c

Browse files
ColinIanKingtomba
authored andcommitted
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 <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20250702084844.966199-1-colin.i.king@gmail.com Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
1 parent cfb2922 commit 852bb7c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/gpu/drm/tidss/tidss_oldi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,6 @@ int tidss_oldi_init(struct tidss_device *tidss)
464464
* which may still be connected.
465465
* Continue to search for that.
466466
*/
467-
ret = 0;
468467
continue;
469468
}
470469
goto err_put_node;

0 commit comments

Comments
 (0)