Skip to content

Commit

Permalink
drivers: saa7164: remove duplicate assignments
Browse files Browse the repository at this point in the history
make second_timeout avoid double assignment.

Signed-off-by: Minjie Du <duminjie@vivo.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
  • Loading branch information
Minjie Du authored and Hans Verkuil committed Jul 19, 2023
1 parent 01d230f commit d5b3214
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/pci/saa7164/saa7164-fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d5b3214

Please sign in to comment.