summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/lima_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/lima/lima_util.c')
-rw-r--r--src/gallium/drivers/lima/lima_util.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/lima/lima_util.c b/src/gallium/drivers/lima/lima_util.c
index 4ad88f5829a..dca9307c991 100644
--- a/src/gallium/drivers/lima/lima_util.c
+++ b/src/gallium/drivers/lima/lima_util.c
@@ -165,12 +165,9 @@ lima_dump_free(struct lima_dump *dump)
}
void
-lima_dump_command_stream_print(struct lima_dump *dump, void *data,
- int size, bool is_float, const char *fmt, ...)
+_lima_dump_command_stream_print(struct lima_dump *dump, void *data,
+ int size, bool is_float, const char *fmt, ...)
{
- if (!dump)
- return;
-
va_list ap;
va_start(ap, fmt);
vfprintf(dump->fp, fmt, ap);