mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
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: Colin Ian King <colin.king@canonical.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
322b169476
commit
81f96ebc8a
@ -319,7 +319,6 @@ static int tvaudio_checkcarrier(struct saa7134_dev *dev, struct mainscan *scan)
|
||||
__s32 left,right,value;
|
||||
|
||||
if (!(dev->tvnorm->id & scan->std)) {
|
||||
value = 0;
|
||||
audio_dbg(1, "skipping %d.%03d MHz [%4s]\n",
|
||||
scan->carr / 1000, scan->carr % 1000, scan->name);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user