From b46cb230dcc735696318cfda997c6f5f66a9167e Mon Sep 17 00:00:00 2001 From: oga Date: Sun, 18 Jul 2010 15:46:41 +0000 Subject: [PATCH] Kill inconsequential dead store. found by Clang static analyzer. --- sys/dev/pci/drm/r300_cmdbuf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/pci/drm/r300_cmdbuf.c b/sys/dev/pci/drm/r300_cmdbuf.c index 6f5d7be1636..8a759302d85 100644 --- a/sys/dev/pci/drm/r300_cmdbuf.c +++ b/sys/dev/pci/drm/r300_cmdbuf.c @@ -901,8 +901,6 @@ r300_cmd_wait(drm_radeon_private_t * dev_priv, drm_r300_cmd_header_t header) if (!header.wait.flags) return; - wait_until = 0; - switch(header.wait.flags) { case R300_WAIT_2D: wait_until = RADEON_WAIT_2D_IDLE; -- 2.20.1