freedreno/afuc: warnings cleanup

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6070>
This commit is contained in:
Rob Clark 2020-07-24 14:27:41 -07:00 committed by Marge Bot
parent 5125b4bc69
commit b62e4a8e9e
2 changed files with 3 additions and 9 deletions

View File

@ -26,6 +26,9 @@
#include "parser.h"
#include "asm.h"
#define YY_NO_INPUT
#define YY_NO_UNPUT
#define TOKEN(t) (yylval.tok = t)
extern YYSTYPE yylval;

View File

@ -118,15 +118,6 @@ label(const char *str)
const char *str;
}
%{
static void print_token(FILE *file, int type, YYSTYPE value)
{
fprintf(file, "\ntype: %d\n", type);
}
#define YYPRINT(file, type, value) print_token(file, type, value)
%}
%token <num> T_INT
%token <num> T_HEX
%token <num> T_CONTROL_REG