]> Gentwo Git Trees - linux/.git/commit
drm/tidss: remove redundant assignment to variable ret
authorColin Ian King <colin.i.king@gmail.com>
Wed, 2 Jul 2025 08:48:44 +0000 (09:48 +0100)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Wed, 13 Aug 2025 08:07:11 +0000 (11:07 +0300)
commit852bb7c08c134162b7063d1fdf9b1cc1ba839d0c
treeddd0428655e8aa212abaa4f6ec5c97a12f070403
parentcfb29225db20c56432a8525366321c0c09edfb2e
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>
drivers/gpu/drm/tidss/tidss_oldi.c