[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250813144002.111689-1-chandramohan.explore@gmail.com>
Date: Wed, 13 Aug 2025 20:09:59 +0530
From: Chandra Mohan Sundar <chandramohan.explore@...il.com>
To: jyri.sarha@....fi,
tomi.valkeinen@...asonboard.com,
maarten.lankhorst@...ux.intel.com,
mripard@...nel.org,
tzimmermann@...e.de,
airlied@...il.com,
simona@...ll.ch,
dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
shuah@...nel.org
Cc: Chandra Mohan Sundar <chandramohan.explore@...il.com>,
linux-kernel-mentees@...ts.linux.dev
Subject: [PATCH] drm/tidss: Remove unused value
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@...il.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
Powered by blists - more mailing lists