Commit 852bb7c0 authored by Colin Ian King's avatar Colin Ian King Committed by Tomi Valkeinen
Browse files

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: default avatarColin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20250702084844.966199-1-colin.i.king@gmail.com


Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
parent cfb29225
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;