diff options
| author | Mathieu Malaterre <[email protected]> | 2019-05-23 12:25:20 +0200 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-06-02 19:39:36 +1000 |
| commit | c806a6fde1c29e7419afcf94d761827a19c5ffe7 (patch) | |
| tree | 5e31eaf9d849d7e6f3467281f930de85f7ad89ed /tools/perf/scripts/python/stackcollapse.py | |
| parent | 89d87bcba2874d824affb7842bb3960cb6f5be05 (diff) | |
powerpc: Remove variable ‘path’ since not used
In commit eab00a208eb6 ("powerpc: Move `path` variable inside
DEBUG_PROM") DEBUG_PROM sentinels were added to silence a warning
(treated as error with W=1):
arch/powerpc/kernel/prom_init.c:1388:8: error: variable ‘path’ set but not used [-Werror=unused-but-set-variable]
Rework the original patch and simplify the code, by removing the
variable ‘path’ completely. Fix line over 90 characters.
Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Mathieu Malaterre <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions