summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-07-18 14:56:18 -0700
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-21 11:14:54 +0800
commitc5df5912025b432476d9c8bcafd669974ec296c7 (patch)
treed560b08db4999a471351fbbcb6c67a1babad2986
parent139659f722c20525bb24879528dc90e0e09af49f (diff)
Fix uninitialized-use warning in i830_debug.c ring dumping.
(cherry picked from commit 3cbfc6c76bcd2bc9194a944092f6ce0881ff9da2)
-rw-r--r--src/i830_debug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/i830_debug.c b/src/i830_debug.c
index 00f18e50..856e31ac 100644
--- a/src/i830_debug.c
+++ b/src/i830_debug.c
@@ -1308,8 +1308,6 @@ i830_valid_command (uint32_t cmd)
if (!mi_cmds[opcode])
return -1;
break;
- case 1:
- break;
case 2: /* 2D */
count = (cmd & 0x1f) + 2;
opcode = (cmd >> 22) & 0x7f;