diff options
author | Rob Clark <[email protected]> | 2018-11-11 10:41:52 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-11-12 10:45:48 -0500 |
commit | 4a0c2cfdd64e4755f48e957106374b2a13323bbe (patch) | |
tree | 3f358a840358688c56da335e8ef681072d9df750 /src | |
parent | 89785e2d56e7fa88efa79d1981f7283ee65a458e (diff) |
freedreno/drm: fix unused 'entry' warnings
Looks like importing libdrm_freedreno into mesa crossed paths with
e27902a2613.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/freedreno/drm/msm_ringbuffer.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |