summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-07-18 15:46:42 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-07-18 15:46:42 +0000
commitd52982eaebf2206b79d4bd3e6915e66d5a93e143 (patch)
tree55bb898d296e6ed101df2b547194723512fa5988 /sys/dev
parentd498f3a76372403391e5a73c54ef43608df05870 (diff)
Kill inconsequential dead store.
found by Clang static analyzer.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/r300_cmdbuf.c2
1 files changed, 0 insertions, 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;