Mesa (master): i965: Fix -Wunused-variable in gen8_write_pma_stall_bits()
Chad Versace
chadversary at kemper.freedesktop.org
Thu Jun 22 21:44:56 UTC 2017
Module: Mesa
Branch: master
Commit: 55f335bd303da8fff90ccc8d7e43aac70d4b80b5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=55f335bd303da8fff90ccc8d7e43aac70d4b80b5
Author: Chad Versace <chadversary at chromium.org>
Date: Thu Jun 22 14:42:47 2017 -0700
i965: Fix -Wunused-variable in gen8_write_pma_stall_bits()
Trivial fix. 'ctx' was unused.
---
src/mesa/drivers/dri/i965/gen8_depth_state.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen8_depth_state.c b/src/mesa/drivers/dri/i965/gen8_depth_state.c
index 29f16b7960..52c6dd0787 100644
--- a/src/mesa/drivers/dri/i965/gen8_depth_state.c
+++ b/src/mesa/drivers/dri/i965/gen8_depth_state.c
@@ -324,8 +324,6 @@ pma_fix_enable(const struct brw_context *brw)
void
gen8_write_pma_stall_bits(struct brw_context *brw, uint32_t pma_stall_bits)
{
- struct gl_context *ctx = &brw->ctx;
-
/* If we haven't actually changed the value, bail now to avoid unnecessary
* pipeline stalls and register writes.
*/
More information about the mesa-commit
mailing list