[PATCH 1/1] pseries/hotplug-memory.c: Replace nested ifs by switch-case

Michael Ellerman patch-notifications at ellerman.id.au
Sat Aug 10 20:20:32 AEST 2019


On Thu, 2019-08-01 at 22:52:51 UTC, Leonardo Bras wrote:
> I noticed these nested ifs can be easily replaced by switch-cases,
> which can improve readability.
> 
> Signed-off-by: Leonardo Bras <leonardo at linux.ibm.com>
> Reviewed-by: David Hildenbrand <david at redhat.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/9616dda1aaddb2080122aaeab96ad7fc064e36b4

cheers


More information about the Linuxppc-dev mailing list