diff options
author | Samuel Pitoiset <[email protected]> | 2017-04-11 14:13:12 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-04-13 10:06:04 +0200 |
commit | 81ba57f4631491eb89db4b3c23629adda6706eb6 (patch) | |
tree | 631e36c2277178b96d5740e98a362039755e6e4f /src/gallium/drivers/trace | |
parent | c53a120a4646f893113cf1b001124849d6c586d2 (diff) |
trace: remove some unused trace_dump_tag*() functions
Fixes the following Clang warnings.
tr_dump.c:137:1: warning: unused function 'trace_dump_tag' [-Wunused-function]
trace_dump_tag(const char *name)
^
tr_dump.c:168:1: warning: unused function 'trace_dump_tag_begin2' [-Wunused-function]
trace_dump_tag_begin2(const char *name,
^
tr_dump.c:187:1: warning: unused function 'trace_dump_tag_begin3' [-Wunused-function]
trace_dump_tag_begin3(const char *name,
^
CC tr_texture.lo
3 warnings generated.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace')
-rw-r--r-- | src/gallium/drivers/trace/tr_dump.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.c b/src/gallium/drivers/trace/tr_dump.c index 9d03b16a34a..78c72492dca 100644 --- a/src/gallium/drivers/trace/tr_dump.c +++ b/src/gallium/drivers/trace/tr_dump.c @@ -134,15 +134,6 @@ trace_dump_newline(void) static inline void -trace_dump_tag(const char *name) -{ - trace_dump_writes("<"); - trace_dump_writes(name); - trace_dump_writes("/>"); -} - - -static inline void trace_dump_tag_begin(const char *name) { trace_dump_writes("<"); @@ -165,49 +156,6 @@ trace_dump_tag_begin1(const char *name, static inline void -trace_dump_tag_begin2(const char *name, - const char *attr1, const char *value1, - const char *attr2, const char *value2) -{ - trace_dump_writes("<"); - trace_dump_writes(name); - trace_dump_writes(" "); - trace_dump_writes(attr1); - trace_dump_writes("=\'"); - trace_dump_escape(value1); - trace_dump_writes("\' "); - trace_dump_writes(attr2); - trace_dump_writes("=\'"); - trace_dump_escape(value2); - trace_dump_writes("\'>"); -} - - -static inline void -trace_dump_tag_begin3(const char *name, - const char *attr1, const char *value1, - const char *attr2, const char *value2, - const char *attr3, const char *value3) -{ - trace_dump_writes("<"); - trace_dump_writes(name); - trace_dump_writes(" "); - trace_dump_writes(attr1); - trace_dump_writes("=\'"); - trace_dump_escape(value1); - trace_dump_writes("\' "); - trace_dump_writes(attr2); - trace_dump_writes("=\'"); - trace_dump_escape(value2); - trace_dump_writes("\' "); - trace_dump_writes(attr3); - trace_dump_writes("=\'"); - trace_dump_escape(value3); - trace_dump_writes("\'>"); -} - - -static inline void trace_dump_tag_end(const char *name) { trace_dump_writes("</"); |