From: Rob Clark Date: Sun, 11 Nov 2018 15:41:52 +0000 (-0500) Subject: freedreno/drm: fix unused 'entry' warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a0c2cfdd64e4755f48e957106374b2a13323bbe;p=mesa.git freedreno/drm: fix unused 'entry' warnings Looks like importing libdrm_freedreno into mesa crossed paths with e27902a2613. Signed-off-by: Rob Clark --- 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;