OSDN Git Service

perf help: No need to use strbuf_remove()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Feb 2016 19:18:37 +0000 (16:18 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Feb 2016 19:18:37 +0000 (16:18 -0300)
commitd1130686f463e6feff19196475c3c15b1923c525
tree1c8e61b8d62756f5642da82f9dd529f7e308d272
parent940db6dcd3f4659303fdf6befe7416adc4d24118
perf help: No need to use strbuf_remove()

It is the only user of this function, just use the strlen() to skip
the prefix.

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-blao710l5cd5hmwrhy51ftgq@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-help.c