powerpc/pseries/pmem: Fix a set but not used value
authorQian Cai <cai@lca.pw>
Sun, 7 Apr 2019 01:54:47 +0000 (21:54 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Apr 2019 12:02:26 +0000 (22:02 +1000)
commite663e1e06089773cdab03023563aead65cfed042
treef953d15070170f05bd0059dd321ee8825a6b3b3d
parentc05f57fdc34a3d00c9ee28a35772e9d11b5ce100
powerpc/pseries/pmem: Fix a set but not used value

The commit 4c5d87db4978 ("powerpc/pseries: PAPR persistent memory
support") set a local variable "count" in dlpar_hp_pmem() but never
use it.

  arch/powerpc/platforms/pseries/pmem.c: In function 'dlpar_hp_pmem':
  arch/powerpc/platforms/pseries/pmem.c:109:6: warning: variable 'count' set but not used

Signed-off-by: Qian Cai <cai@lca.pw>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/pmem.c