diff mbox series

[v2] drivers: saa7164: remove duplicate assignments

Message ID 20230705064922.10165-1-duminjie@vivo.com
State Accepted
Commit d5b3214a9200678cdf3514867aea62df39d989b0
Headers show
Series [v2] drivers: saa7164: remove duplicate assignments | expand

Commit Message

Minjie Du July 5, 2023, 6:49 a.m. UTC
make second_timeout avoid double assignment.
Thank you for your reply.

Signed-off-by: Minjie Du <duminjie@vivo.com>
---
 drivers/media/pci/saa7164/saa7164-fw.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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);