kexec-tools: ppc/ppc64: cleanup: Remove never reached return
Subsystems (2)
PATCH 1/1 kexec-tools: ppc/ppc64: cleanup: Remove never reached return
From: Zhang Yanfei <[email protected]>
The return will never be reached, so remove it.
Signed-off-by Zhang Yanfei <[email protected]>
--- kexec/arch/ppc/kexec-ppc.c | 1 - kexec/arch/ppc64/kexec-ppc64.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-)
kexec/arch/ppc/kexec-ppc.c +0 -1
@@ -736,7 +736,6 @@ static int get_devtree_details(unsigned long kexec_flags) != 1) {perror (fname); goto error_openfile; -return -1 ; }memset (fname,0 ,sizeof (fname)); sprintf(fname, "%s%s%s",
kexec/arch/ppc64/kexec-ppc64.c +0 -1
@@ -590,7 +590,6 @@ static int get_devtree_details(unsigned long kexec_flags)if (fread (&tce_base,sizeof (uint64_t ),1 , file) !=1 ) {perror (fname); goto error_openfile; -return -1 ; }memset (fname,0 ,sizeof (fname));strcpy (fname, device_tree);
Signature · 6 lines
1.7.1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Simon Horman
AppliedQuoted 3 lines · Zhang Yanfei
From: Zhang Yanfei <[email protected]>
The return will never be reached, so remove it.
Thanks, applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec