From 4a0c2cfdd64e4755f48e957106374b2a13323bbe Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sun, 11 Nov 2018 10:41:52 -0500 Subject: freedreno/drm: fix unused 'entry' warnings Looks like importing libdrm_freedreno into mesa crossed paths with e27902a2613. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/drm/msm_ringbuffer.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/gallium/drivers/freedreno/drm/msm_ringbuffer.c b/src/gallium/drivers/freedreno/drm/msm_ringbuffer.c index f1e96740231..673ef436e25 100644 --- a/src/gallium/drivers/freedreno/drm/msm_ringbuffer.c +++ b/src/gallium/drivers/freedreno/drm/msm_ringbuffer.c @@ -311,7 +311,6 @@ msm_submit_flush(struct fd_submit *submit, int in_fence_fd, finalize_current_cmd(msm_submit->primary); append_ring(msm_submit->ring_set, msm_submit->primary); - struct set_entry *entry; unsigned nr_cmds = 0; unsigned nr_objs = 0; @@ -578,7 +577,6 @@ append_stateobj_rings(struct msm_submit *submit, struct fd_ringbuffer *target) debug_assert(target->flags & _FD_RINGBUFFER_OBJECT); - struct set_entry *entry; set_foreach(msm_target->u.ring_set, entry) { struct fd_ringbuffer *ring = (void *)entry->key; -- cgit v1.2.3