Kill inconsequential dead store.
authoroga <oga@openbsd.org>
Sun, 18 Jul 2010 15:46:41 +0000 (15:46 +0000)
committeroga <oga@openbsd.org>
Sun, 18 Jul 2010 15:46:41 +0000 (15:46 +0000)
found by Clang static analyzer.

sys/dev/pci/drm/r300_cmdbuf.c

index 6f5d7be..8a75930 100644 (file)
@@ -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;