Commit 81f96ebc authored by Colin Ian King's avatar Colin Ian King Committed by Mauro Carvalho Chehab

media: saa7134: remove redundant assignment to variable value

The variable value is being assigned with a value that is never
read and it is being updated later with a new value. The
assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 322b1694
...@@ -319,7 +319,6 @@ static int tvaudio_checkcarrier(struct saa7134_dev *dev, struct mainscan *scan) ...@@ -319,7 +319,6 @@ static int tvaudio_checkcarrier(struct saa7134_dev *dev, struct mainscan *scan)
__s32 left,right,value; __s32 left,right,value;
if (!(dev->tvnorm->id & scan->std)) { if (!(dev->tvnorm->id & scan->std)) {
value = 0;
audio_dbg(1, "skipping %d.%03d MHz [%4s]\n", audio_dbg(1, "skipping %d.%03d MHz [%4s]\n",
scan->carr / 1000, scan->carr % 1000, scan->name); scan->carr / 1000, scan->carr % 1000, scan->name);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment