Message ID | 152882087494.112322.15549780953419438229.stgit@bahia.lab.toulouse-stg.fr.ibm.com |
---|---|
State | New |
Headers | show |
Series | [1/3] target/ppc: drop empty #if/#endif block | expand |
On 06/12/2018 01:27 PM, Greg Kurz wrote: > Commit 9d6f106552fa moved the last line in this block to somewhere else, > but it forgot to remove the now useless #if/#endif. > > Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > target/ppc/cpu.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h > index 0247c1f04c37..a91f1a8777eb 100644 > --- a/target/ppc/cpu.h > +++ b/target/ppc/cpu.h > @@ -1300,8 +1300,6 @@ void ppc_store_ptcr(CPUPPCState *env, target_ulong value); > void ppc_store_msr (CPUPPCState *env, target_ulong value); > > void ppc_cpu_list (FILE *f, fprintf_function cpu_fprintf); > -#if defined(TARGET_PPC64) > -#endif > > /* Time-base and decrementer management */ > #ifndef NO_CPU_IO_DEFS > >
On Tue, Jun 12, 2018 at 06:27:54PM +0200, Greg Kurz wrote: > Commit 9d6f106552fa moved the last line in this block to somewhere else, > but it forgot to remove the now useless #if/#endif. > > Signed-off-by: Greg Kurz <groug@kaod.org> Applied to ppc-for-3.0, thanks. > --- > target/ppc/cpu.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h > index 0247c1f04c37..a91f1a8777eb 100644 > --- a/target/ppc/cpu.h > +++ b/target/ppc/cpu.h > @@ -1300,8 +1300,6 @@ void ppc_store_ptcr(CPUPPCState *env, target_ulong value); > void ppc_store_msr (CPUPPCState *env, target_ulong value); > > void ppc_cpu_list (FILE *f, fprintf_function cpu_fprintf); > -#if defined(TARGET_PPC64) > -#endif > > /* Time-base and decrementer management */ > #ifndef NO_CPU_IO_DEFS >
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h index 0247c1f04c37..a91f1a8777eb 100644 --- a/target/ppc/cpu.h +++ b/target/ppc/cpu.h @@ -1300,8 +1300,6 @@ void ppc_store_ptcr(CPUPPCState *env, target_ulong value); void ppc_store_msr (CPUPPCState *env, target_ulong value); void ppc_cpu_list (FILE *f, fprintf_function cpu_fprintf); -#if defined(TARGET_PPC64) -#endif /* Time-base and decrementer management */ #ifndef NO_CPU_IO_DEFS
Commit 9d6f106552fa moved the last line in this block to somewhere else, but it forgot to remove the now useless #if/#endif. Signed-off-by: Greg Kurz <groug@kaod.org> --- target/ppc/cpu.h | 2 -- 1 file changed, 2 deletions(-)