summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_parse.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-24 14:45:56 +0000
committerKeith Whitwell <[email protected]>2009-11-24 14:45:56 +0000
commit42ae0030696f027050c41babced2b408997bb0ce (patch)
tree9903989a555d359d87389bd87cd969a601ee907b /src/gallium/auxiliary/tgsi/tgsi_parse.c
parent9fbfe6b65d7d45a70553b603f2166be3272d1e35 (diff)
tgsi: remove unnecessary full_token init and free functions
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_parse.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_parse.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_parse.c b/src/gallium/auxiliary/tgsi/tgsi_parse.c
index 853485b48be..52c714ebbdf 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_parse.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_parse.c
@@ -30,19 +30,6 @@
#include "tgsi_parse.h"
#include "util/u_memory.h"
-void
-tgsi_full_token_init(
- union tgsi_full_token *full_token )
-{
- full_token->Token.Type = TGSI_TOKEN_TYPE_DECLARATION;
-}
-
-void
-tgsi_full_token_free(
- union tgsi_full_token *full_token )
-{
-}
-
unsigned
tgsi_parse_init(
struct tgsi_parse_context *ctx,
@@ -64,8 +51,6 @@ tgsi_parse_init(
ctx->Tokens = tokens;
ctx->Position = 1 + ctx->FullHeader.Header.HeaderSize;
- tgsi_full_token_init( &ctx->FullToken );
-
return TGSI_PARSE_OK;
}
@@ -73,7 +58,6 @@ void
tgsi_parse_free(
struct tgsi_parse_context *ctx )
{
- tgsi_full_token_free( &ctx->FullToken );
}
boolean
@@ -118,9 +102,6 @@ tgsi_parse_token(
struct tgsi_token token;
unsigned i;
- tgsi_full_token_free( &ctx->FullToken );
- tgsi_full_token_init( &ctx->FullToken );
-
next_token( ctx, &token );
switch( token.Type ) {