PKGBUILDs/core/linux-oak/0007-usbtv-remove-unused-variable.patch

27 lines
923 B
Diff
Raw Normal View History

2016-11-13 01:53:28 +00:00
From 615070e7e686b5b87ec2d121528049056fda0dba Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sat, 29 Oct 2016 12:04:40 -0600
2016-12-09 02:42:05 +00:00
Subject: [PATCH 07/10] usbtv: remove unused variable
2016-11-13 01:53:28 +00:00
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
---
drivers/media/usb/usbtv/usbtv-video.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/usbtv/usbtv-video.c b/drivers/media/usb/usbtv/usbtv-video.c
index a5eb726..4f450c6 100644
--- a/drivers/media/usb/usbtv/usbtv-video.c
+++ b/drivers/media/usb/usbtv/usbtv-video.c
@@ -602,7 +602,7 @@ static int usbtv_queue_setup(struct vb2_queue *vq,
const void *parg, unsigned int *nbuffers,
unsigned int *nplanes, unsigned int sizes[], void *alloc_ctxs[])
{
- const struct v4l2_format *fmt = parg;
+ /* const struct v4l2_format *fmt = parg; */
struct usbtv *usbtv = vb2_get_drv_priv(vq);
if (*nbuffers < 2)
--
2.10.2