Skip to contentSkip to conversation

media: davinci: remove redundant assignment to pointer 'common'

PATCH New Colin King 1 participant 1 message Apr 15, 2020

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 media: davinci: remove redundant assignment to pointer 'common'

From: Colin Ian King <[email protected]>

The pointer 'common' is being assigned with a value that is never read, the assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")

---
 drivers/media/platform/davinci/vpif_display.c | 1 -
 1 file changed, 1 deletion(-)
drivers/media/platform/davinci/vpif_display.c +0 -1
index ead14c49d4f5..7d55fd45240e 100644
@@ -1225,7 +1225,6 @@ static int vpif_probe_complete(void)
 probe_out:
 	for (k = 0; k < j; k++) {
 		ch = vpif_obj.dev[k];
-		common = &ch->common[k];
 		video_unregister_device(&ch->video_dev);
 	}
 	return err;
Signature · 1 line
2.25.1