artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ca3d8
)
Kill inconsequential dead store.
author
oga
<oga@openbsd.org>
Sun, 18 Jul 2010 15:46:41 +0000
(15:46 +0000)
committer
oga
<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
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/r300_cmdbuf.c
b/sys/dev/pci/drm/r300_cmdbuf.c
index
6f5d7be
..
8a75930
100644
(file)
--- 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;