OSDN Git Service

powerpc/pseries: Don't needlessly initialise rv to 0
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Jul 2017 11:46:03 +0000 (21:46 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Jul 2017 11:46:03 +0000 (21:46 +1000)
commit31f8eb753522a71e12e1c7b90c17a2b3d2a2df08
treedba67a2cf9b96a0784569af7345c042bcf0e626c
parent3783225130f01ea86fc0ee477a0e72c102ae2a4b
powerpc/pseries: Don't needlessly initialise rv to 0

All cases initialise rv, and if they didn't that would be a bug. By
dropping the initialisation we give the compiler the chance to catch
those bugs for us.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/reconfig.c