summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_state.c
diff options
context:
space:
mode:
authormichal <michal@transistor.(none)>2009-12-10 09:29:15 +0100
committermichal <michal@transistor.(none)>2009-12-10 09:29:15 +0100
commit3a7314a78d2d239aef4032445c41e530ec13d3e0 (patch)
tree2db9ae507756b8004670b0f3df17ad2fc58b7b40 /src/gallium/drivers/i915/i915_state.c
parent1fb440beb9cccbe6f4bbd309792a89f6e1b4ee3f (diff)
gallium: Silence compiler warnings.
Diffstat (limited to 'src/gallium/drivers/i915/i915_state.c')
-rw-r--r--src/gallium/drivers/i915/i915_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c
index b38d1b2404..46703dce35 100644
--- a/src/gallium/drivers/i915/i915_state.c
+++ b/src/gallium/drivers/i915/i915_state.c
@@ -596,7 +596,6 @@ i915_create_sampler_view(struct pipe_context *pipe,
struct pipe_texture *texture,
const struct pipe_sampler_view *templ)
{
- struct i915_context *i915 = i915_context(pipe);
struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view);
*view = *templ;