Skip to contentSkip to conversation

drm/tidss: Remove unused value

PATCH New Chandra Mohan Sundar 1 participant 1 message Aug 14, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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")

---
Changes since v1:
Fixed the commit message and Fixes tag message formatting.

 drivers/gpu/drm/tidss/tidss_oldi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/tidss/tidss_oldi.c +0 -1
index 8f25159d0666..7688251beba2 100644
@@ -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;
Signature · 1 line
2.43.0