media: vb2-core: remove unused variables
authorCho KyongHo <pullip.cho@samsung.com>
Tue, 31 Jul 2018 06:44:20 +0000 (15:44 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Tue, 31 Jul 2018 07:28:59 +0000 (16:28 +0900)
Change-Id: I15c473297a591bdd78d729ec102202d0475778a4
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c

index 136a36f63560a5c0b80b5a4b3ced19bd6b303c24..b502ff7e33eaeab9682b16fcb183d69beb8e622d 100644 (file)
@@ -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];