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

27 lines
931 B
Diff
Raw Normal View History

2017-05-28 02:29:07 +00:00
From 6d8ab10cd86d3936072b0099b5b879074840c0ac 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
2017-05-28 02:29:07 +00:00
Subject: [PATCH 6/8] 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
2017-05-28 02:29:07 +00:00
index a5eb726b2a0f..4f450c61ea74 100644
2016-11-13 01:53:28 +00:00
--- 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)
--
2017-05-28 02:29:07 +00:00
2.13.0
2016-11-13 01:53:28 +00:00