Re: [PATCH] powerpc: Remove variable ‘path’ since not used

2019-06-03 Thread Michael Ellerman
On Thu, 2019-05-23 at 10:25:20 UTC, Mathieu Malaterre wrote: > 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 b

[PATCH] powerpc: Remove variable ‘path’ since not used

2019-05-23 Thread Mathieu Malaterre
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 pat