diff options
| author | Dr. David Alan Gilbert <linux@treblig.org> | 2025-03-05 02:31:17 +0000 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-03-10 11:31:24 -0700 |
| commit | cf99ec1525b056accbfc44b034a1d8672ef77f3f (patch) | |
| tree | 554f0044eebf54d5e053959fba865f3566bf930a /tools/perf/util/pstack.h | |
| parent | perf util: Remove unused perf_color_default_config (diff) | |
| download | linux-cf99ec1525b056accbfc44b034a1d8672ef77f3f.tar.gz linux-cf99ec1525b056accbfc44b034a1d8672ef77f3f.zip | |
perf util: Remove unused pstack__pop
The last use of pstack__pop() was removed in 2015 by
commit 6422184b087f ("perf hists browser: Simplify zooming code using
pstack_peek()")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250305023120.155420-4-linux@treblig.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/pstack.h')
| -rw-r--r-- | tools/perf/util/pstack.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/pstack.h b/tools/perf/util/pstack.h index 8729b8be061d..712051b8130f 100644 --- a/tools/perf/util/pstack.h +++ b/tools/perf/util/pstack.h @@ -10,7 +10,6 @@ void pstack__delete(struct pstack *pstack); bool pstack__empty(const struct pstack *pstack); void pstack__remove(struct pstack *pstack, void *key); void pstack__push(struct pstack *pstack, void *key); -void *pstack__pop(struct pstack *pstack); void *pstack__peek(struct pstack *pstack); #endif /* _PERF_PSTACK_ */ |
