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

27 lines
921 B
Diff
Raw Normal View History

2016-12-21 02:20:21 +00:00
From cb4a97a3f63b9d08d8cc87d843123ca16da98be0 Mon Sep 17 00:00:00 2001
2016-11-13 01:53:28 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sat, 29 Oct 2016 12:04:40 -0600
2016-12-21 02:20:21 +00:00
Subject: [PATCH 7/9] 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