diff options
author | Minjie Du <duminjie@vivo.com> | 2023-07-05 09:49:22 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-07-19 13:57:48 +0300 |
commit | d5b3214a9200678cdf3514867aea62df39d989b0 (patch) | |
tree | df5716556db32a2a7ac24cc953c5ddcb7d88c59c | |
parent | 01d230f52f1a43914877049ce53c9092350b6633 (diff) | |
download | linux-d5b3214a9200678cdf3514867aea62df39d989b0.tar.xz |
drivers: saa7164: remove duplicate assignments
make second_timeout avoid double assignment.
Signed-off-by: Minjie Du <duminjie@vivo.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r-- | drivers/media/pci/saa7164/saa7164-fw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/pci/saa7164/saa7164-fw.c b/drivers/media/pci/saa7164/saa7164-fw.c index 363689484c54..cc9f384f7f1e 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); |