summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-01-31 00:15:20 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2022-02-22 09:41:11 +0100
commit5e10543b86f1f4e6025b4de4fc749476348b0f8d (patch)
tree7ba8806dec33bbf498458e0bfdc71d545b389fba /drivers/media
parentmedia: mtk-jpeg: remove redundant initialization of variable plane_fmt (diff)
downloadlinux-5e10543b86f1f4e6025b4de4fc749476348b0f8d.tar.xz
linux-5e10543b86f1f4e6025b4de4fc749476348b0f8d.zip
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/pci/saa7134/saa7134-video.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-video.c b/drivers/media/pci/saa7134/saa7134-video.c
index 7bc4c7709f4d..48543ad3d595 100644
--- a/drivers/media/pci/saa7134/saa7134-video.c
+++ b/drivers/media/pci/saa7134/saa7134-video.c
@@ -1535,8 +1535,6 @@ int saa7134_s_std(struct file *file, void *priv, v4l2_std_id id)
return -EINVAL;
}
- id = tvnorms[i].id;
-
if (!is_empress(file) && fh == dev->overlay_owner) {
spin_lock_irqsave(&dev->slock, flags);
stop_preview(dev);