From: Cho KyongHo Date: Tue, 31 Jul 2018 06:44:20 +0000 (+0900) Subject: media: vb2-core: remove unused variables X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2803a696d95956bac7cea84bc6a75cd1b11af8b7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git media: vb2-core: remove unused variables Change-Id: I15c473297a591bdd78d729ec102202d0475778a4 Signed-off-by: Cho KyongHo --- 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];