Home
last modified time | relevance | path

Searched hist:c806a6fde1c29e7419afcf94d761827a19c5ffe7 (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/kernel/
H A Dprom_init.cdiff c806a6fde1c29e7419afcf94d761827a19c5ffe7 Thu May 23 12:25:20 CEST 2019 Mathieu Malaterre <malat@debian.org> 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 <mpe@ellerman.id.au>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>