[PATCH] powerpc: remove unneeded semicolons

Chengyang Fan cy.fan at huawei.com
Sat Jan 30 12:31:37 AEDT 2021


Although they are harmless, I think we should keep the consistency of 
kernel coding style.

Thanks


On 2021/1/29 19:48, Michael Ellerman wrote:
> Chengyang Fan <cy.fan at huawei.com> writes:
>> Remove superfluous semicolons after function definitions.
> Is there a good reason why?
>
> I realise they're superfluous, but they're also harmless as far as I'm
> aware.
>
> cheers
>
>>   arch/powerpc/include/asm/book3s/32/mmu-hash.h       |  2 +-
>>   arch/powerpc/include/asm/book3s/64/mmu.h            |  2 +-
>>   arch/powerpc/include/asm/book3s/64/tlbflush-radix.h |  2 +-
>>   arch/powerpc/include/asm/book3s/64/tlbflush.h       |  2 +-
>>   arch/powerpc/include/asm/firmware.h                 |  2 +-
>>   arch/powerpc/include/asm/kvm_ppc.h                  |  6 +++---
>>   arch/powerpc/include/asm/paca.h                     |  6 +++---
>>   arch/powerpc/include/asm/rtas.h                     |  2 +-
>>   arch/powerpc/include/asm/setup.h                    |  6 +++---
>>   arch/powerpc/include/asm/simple_spinlock.h          |  4 ++--
>>   arch/powerpc/include/asm/smp.h                      |  2 +-
>>   arch/powerpc/include/asm/xmon.h                     |  4 ++--
>>   arch/powerpc/kernel/prom.c                          |  2 +-
>>   arch/powerpc/kernel/setup.h                         | 12 ++++++------
>>   arch/powerpc/platforms/powernv/subcore.h            |  2 +-
>>   arch/powerpc/platforms/pseries/pseries.h            |  2 +-
>>   16 files changed, 29 insertions(+), 29 deletions(-)
> .


More information about the Linuxppc-dev mailing list