From 2803a696d95956bac7cea84bc6a75cd1b11af8b7 Mon Sep 17 00:00:00 2001 From: Cho KyongHo Date: Tue, 31 Jul 2018 15:44:20 +0900 Subject: [PATCH] media: vb2-core: remove unused variables Change-Id: I15c473297a591bdd78d729ec102202d0475778a4 Signed-off-by: Cho KyongHo --- drivers/media/v4l2-core/videobuf2-core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c index 136a36f63560..b502ff7e33ea 100644 --- a/drivers/media/v4l2-core/videobuf2-core.c +++ b/drivers/media/v4l2-core/videobuf2-core.c @@ -1422,7 +1422,6 @@ static void __qbuf_work(struct work_struct *work) { struct vb2_buffer *vb; struct vb2_queue *q; - unsigned long flags; vb = container_of(work, struct vb2_buffer, qbuf_work); q = vb->vb2_queue; @@ -1470,7 +1469,6 @@ static void vb2_qbuf_fence_cb(struct dma_fence *f, struct dma_fence_cb *cb) static void vb2_fence_timeout_handler(unsigned long arg) { struct vb2_buffer *vb = (struct vb2_buffer *)arg; - struct vb2_queue *q = vb->vb2_queue; struct dma_fence *fence; unsigned long flags; char name[32]; -- 2.20.1