Skip to contentSkip to conversation

media: c8sectpfe: remove redundant assignment to pointer tsin

git:media_stage/master Mauro Carvalho Chehab 1 participant 1 message Dec 7, 2021

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

This is an automatic generated email to let you know that the following patch were queued:

Subject: media: c8sectpfe: remove redundant assignment to pointer tsin
Author:  Colin Ian King <[email protected]>
Date:    Sun Dec 5 01:37:45 2021 +0100

Pointer tsin is being assigned a value that is never read. The assignment is redundant and can be removed.

 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 4 ----
 1 file changed, 4 deletions(-)

---

drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c +0 -4
index 02dc78bd7fab..e1f520903248 100644
@@ -930,12 +930,8 @@ static int configure_channels(struct c8sectpfei *fei)
 
 	/* iterate round each tsin and configure memdma descriptor and IB hw */
 	for_each_child_of_node(np, child) {
-
-		tsin = fei->channel_data[index];
-
 		ret = configure_memdma_and_inputblock(fei,
 						fei->channel_data[index]);
-
 		if (ret) {
 			dev_err(fei->dev,
 				"configure_memdma_and_inputblock failed\n");