summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/softpipe/sp_context.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.c b/src/mesa/pipe/softpipe/sp_context.c
index dcf0444f6e2..b62e691e87d 100644
--- a/src/mesa/pipe/softpipe/sp_context.c
+++ b/src/mesa/pipe/softpipe/sp_context.c
@@ -55,8 +55,6 @@ static boolean
softpipe_is_format_supported( struct pipe_context *pipe,
enum pipe_format format, uint type )
{
- struct softpipe_context *softpipe = softpipe_context( pipe );
-
switch (type) {
case PIPE_TEXTURE:
/* softpipe supports all texture formats */