* [PATCH] drm/tidss: Remove unused value
@ 2025-08-13 14:39 Chandra Mohan Sundar
0 siblings, 0 replies; only message in thread
From: Chandra Mohan Sundar @ 2025-08-13 14:39 UTC (permalink / raw)
To: jyri.sarha, tomi.valkeinen, maarten.lankhorst, mripard,
tzimmermann, airlied, simona, dri-devel, linux-kernel, shuah
Cc: Chandra Mohan Sundar, linux-kernel-mentees
The value "ret" is being assigned to zero but that statement does not have
effect since "ret" is being overwritten before being read.
Remove the unused value. This issue was reported by the coverity static
analyzer.
Fixes: 7246e09299455 (drm/tidss: Add OLDI bridge support)
Signed-off-by: Chandra Mohan Sundar <chandramohan.explore@gmail.com>
---
drivers/gpu/drm/tidss/tidss_oldi.c | 1 -
1 file changed, 1 deletion(-)
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;
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-13 14:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 14:39 [PATCH] drm/tidss: Remove unused value Chandra Mohan Sundar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).