media: saa7134: remove redundant assignment to variable id
Variable id is being assigned a value that is never read. The assignment is redundant and can be removed. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
ffd3f6385a
commit
5e10543b86
|
@ -1535,8 +1535,6 @@ int saa7134_s_std(struct file *file, void *priv, v4l2_std_id id)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
id = tvnorms[i].id;
|
|
||||||
|
|
||||||
if (!is_empress(file) && fh == dev->overlay_owner) {
|
if (!is_empress(file) && fh == dev->overlay_owner) {
|
||||||
spin_lock_irqsave(&dev->slock, flags);
|
spin_lock_irqsave(&dev->slock, flags);
|
||||||
stop_preview(dev);
|
stop_preview(dev);
|
||||||
|
|
Loading…
Reference in New Issue