]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a176b54378dd8ef6195d511863aaf699eae6e5f
treedba67a2cf9b96a0784569af7345c042bcf0e626c
parent8f17c8799fc1a2517581048622545e331da40474
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