[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230705044750.8498-1-duminjie@vivo.com>
Date: Wed, 5 Jul 2023 12:47:50 +0800
From: Minjie Du <duminjie@...o.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
Minjie Du <duminjie@...o.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
linux-media@...r.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE
(V4L/DVB)), linux-kernel@...r.kernel.org (open list)
Cc: opensource.kernel@...o.com
Subject: [PATCH v1] drivers: media: remove duplicate assignments
make second_timeout avoid double assignment.
Signed-off-by: Minjie Du <duminjie@...o.com>
---
drivers/media/pci/saa7164/saa7164-fw.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/pci/saa7164/saa7164-fw.c b/drivers/media/pci/saa7164/saa7164-fw.c
index 363689484..cc9f384f7 100644
--- a/drivers/media/pci/saa7164/saa7164-fw.c
+++ b/drivers/media/pci/saa7164/saa7164-fw.c
@@ -271,7 +271,6 @@ int saa7164_downloadfirmware(struct saa7164_dev *dev)
dprintk(DBGLVL_FW, "%s() Loader 1 has loaded.\n",
__func__);
first_timeout = SAA_DEVICE_TIMEOUT;
- second_timeout = 60 * SAA_DEVICE_TIMEOUT;
second_timeout = 100;
err_flags = saa7164_readl(SAA_SECONDSTAGEERROR_FLAGS);
--
2.39.0
Powered by blists - more mailing lists