Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FA7BC433F5 for ; Tue, 7 Dec 2021 10:28:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235147AbhLGKbs (ORCPT ); Tue, 7 Dec 2021 05:31:48 -0500 Received: from www.linuxtv.org ([130.149.80.248]:40978 "EHLO www.linuxtv.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235131AbhLGKbo (ORCPT ); Tue, 7 Dec 2021 05:31:44 -0500 Received: from mchehab by www.linuxtv.org with local (Exim 4.92) (envelope-from ) id 1muXhj-00APM8-Hy; Tue, 07 Dec 2021 10:28:11 +0000 From: Mauro Carvalho Chehab Date: Tue, 07 Dec 2021 10:26:40 +0000 Subject: [git:media_stage/master] media: c8sectpfe: remove redundant assignment to pointer tsin To: linuxtv-commits@linuxtv.org Cc: kernel-janitors@vger.kernel.org, Patrice Chotard , Colin Ian King Mail-followup-to: linux-media@vger.kernel.org Forward-to: linux-media@vger.kernel.org Reply-to: linux-media@vger.kernel.org Message-Id: Precedence: bulk List-ID: X-Mailing-List: kernel-janitors@vger.kernel.org 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 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. Link: https://lore.kernel.org/linux-media/20211205003745.227491-1-colin.i.king@gmail.com Cc: kernel-janitors@vger.kernel.org Signed-off-by: Colin Ian King Reviewed-by: Patrice Chotard Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 4 ---- 1 file changed, 4 deletions(-) --- diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c index 02dc78bd7fab..e1f520903248 100644 --- a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c +++ b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c @@ -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");