]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/platforms/83xx/suspend: Remove write-only global variable
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 7 Jul 2022 06:14:41 +0000 (08:14 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 Jul 2022 06:22:14 +0000 (16:22 +1000)
commit77ac4d358c7ed6c9a34370991d1b2539e9895b90
tree1d0c244f4aefaecfd4bafa67076f9787b8836a1c
parentc52b8b0142db9ace1e55d0311de0c3af50804ef7
powerpc/platforms/83xx/suspend: Remove write-only global variable

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 <u.kleine-koenig@pengutronix.de>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220707061441.193869-3-u.kleine-koenig@pengutronix.de
arch/powerpc/platforms/83xx/suspend.c