Commit 619b2677 authored by Anton Blanchard's avatar Anton Blanchard Committed by Benjamin Herrenschmidt

powerpc/kexec: Remove ppc_md.machine_kexec_cleanup

No one uses ppc_md.machine_kexec_cleanup, so remove it.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 50266a1f
...@@ -247,9 +247,6 @@ struct machdep_calls { ...@@ -247,9 +247,6 @@ struct machdep_calls {
*/ */
int (*machine_kexec_prepare)(struct kimage *image); int (*machine_kexec_prepare)(struct kimage *image);
/* Called to handle any machine specific cleanup on image */
void (*machine_kexec_cleanup)(struct kimage *image);
/* Called to perform the _real_ kexec. /* Called to perform the _real_ kexec.
* Do NOT allocate memory or fail here. We are past the point of * Do NOT allocate memory or fail here. We are past the point of
* no return. * no return.
......
...@@ -65,8 +65,6 @@ int machine_kexec_prepare(struct kimage *image) ...@@ -65,8 +65,6 @@ int machine_kexec_prepare(struct kimage *image)
void machine_kexec_cleanup(struct kimage *image) void machine_kexec_cleanup(struct kimage *image)
{ {
if (ppc_md.machine_kexec_cleanup)
ppc_md.machine_kexec_cleanup(image);
} }
void arch_crash_save_vmcoreinfo(void) void arch_crash_save_vmcoreinfo(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment