Thread (3 messages) 3 messages, 3 authors, 2020-01-06

Re: [PATCH] powerpc/85xx: Get twr_p102x to compile again

From: Scott Wood <oss@buserror.net>
Date: 2019-12-19 23:58:04

On Thu, 2019-12-19 at 16:16 +0100, Sebastian Andrzej Siewior wrote:
With CONFIG_QUICC_ENGINE enabled and CONFIG_UCC_GETH + CONFIG_SERIAL_QE
disabled we have an unused variable (np). The code won't compile with
-Werror.

Move the np variable to the block where it is actually used.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 arch/powerpc/platforms/85xx/twr_p102x.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Acked-by: Scott Wood <oss@buserror.net>

-Scott

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help