]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18744512f857301e2c80dfad923dd69759db9311
tree1c8e61b8d62756f5642da82f9dd529f7e308d272
parentc8b6a2635566498b26b722e3c82e2ca30f2c0433
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