Re: [PATCH 3/3] powerpc/platforms/83xx/suspend: Remove write-only global variable

2022-07-07 Thread Christophe Leroy
Le 07/07/2022 à 08:14, Uwe Kleine-König a écrit : > pmc_dev is only assigned in .probe(), otherwise the variable is unused. > So drop this pointer that serves no purpose. > > Signed-off-by: Uwe Kleine-König Reviewed-by: Christophe Leroy > --- > arch/powerpc/platforms/83xx/suspend.c | 2 --

[PATCH 3/3] powerpc/platforms/83xx/suspend: Remove write-only global variable

2022-07-06 Thread Uwe Kleine-König
pmc_dev is only assigned in .probe(), otherwise the variable is unused. So drop this pointer that serves no purpose. Signed-off-by: Uwe Kleine-König --- arch/powerpc/platforms/83xx/suspend.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/platforms/83xx/suspend.c b/arch/powerp