From 615070e7e686b5b87ec2d121528049056fda0dba Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 29 Oct 2016 12:04:40 -0600 Subject: [PATCH 7/9] usbtv: remove unused variable Signed-off-by: Kevin Mihelich --- 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