diff options
author | 2016-02-23 16:21:04 -0300 | |
---|---|---|
committer | 2016-02-23 16:21:04 -0300 | |
commit | bea2400621836b028d82c3d6a74053921d70dbd7 (patch) | |
tree | f62b81b218d680db8aca72461c0d426938ad0576 /tools/perf/util/strbuf.h | |
parent | perf help: No need to use strbuf_remove() (diff) | |
download | linux-bea2400621836b028d82c3d6a74053921d70dbd7.tar.gz linux-bea2400621836b028d82c3d6a74053921d70dbd7.tar.bz2 linux-bea2400621836b028d82c3d6a74053921d70dbd7.zip |
perf tools: Remove strbuf_{remove,splice}()
No users, nuke them.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-kfv2wo8xann8t97wdalttcx7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/strbuf.h')
-rw-r--r-- | tools/perf/util/strbuf.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/strbuf.h b/tools/perf/util/strbuf.h index 529f2f035249..7a32c838884d 100644 --- a/tools/perf/util/strbuf.h +++ b/tools/perf/util/strbuf.h @@ -77,8 +77,6 @@ static inline void strbuf_addch(struct strbuf *sb, int c) { sb->buf[sb->len] = '\0'; } -extern void strbuf_remove(struct strbuf *, size_t pos, size_t len); - extern void strbuf_add(struct strbuf *, const void *, size_t); static inline void strbuf_addstr(struct strbuf *sb, const char *s) { strbuf_add(sb, s, strlen(s)); |