diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-04-25 11:11:41 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-04-25 11:13:43 (GMT) |
commit | dc96208582156fafd946368853bc108096dee9f9 (patch) | |
tree | 2d7caf5ec93f2bcd179e16d761c5e6464efbf8f3 /drivers/media/pci/sta2x11 | |
parent | 7b9f31f3b3cab9bc367ba4da45af129ff858ce52 (diff) | |
download | linux-dc96208582156fafd946368853bc108096dee9f9.tar.xz |
[media] sta2x11: remove unused vars
Changeset 7b9f31f3b3ca ("[media] sta2x11_vip: fix s_std") removed
autodetect code, but it kept two vars unused:
drivers/media/pci/sta2x11/sta2x11_vip.c: In function 'vidioc_s_std':
drivers/media/pci/sta2x11/sta2x11_vip.c:448:6: warning: unused variable 'status' [-Wunused-variable]
int status;
^
drivers/media/pci/sta2x11/sta2x11_vip.c:447:14: warning: unused variable 'oldstd' [-Wunused-variable]
v4l2_std_id oldstd = vip->std;
^
Remove them.
Fixes: 7b9f31f3b3ca ("[media] sta2x11_vip: fix s_std")
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/sta2x11')
-rw-r--r-- | drivers/media/pci/sta2x11/sta2x11_vip.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/pci/sta2x11/sta2x11_vip.c b/drivers/media/pci/sta2x11/sta2x11_vip.c index c79623c..1fc195f 100644 --- a/drivers/media/pci/sta2x11/sta2x11_vip.c +++ b/drivers/media/pci/sta2x11/sta2x11_vip.c @@ -444,8 +444,6 @@ static int vidioc_querycap(struct file *file, void *priv, static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id std) { struct sta2x11_vip *vip = video_drvdata(file); - v4l2_std_id oldstd = vip->std; - int status; /* * This is here for backwards compatibility only. |