[7/8] powerpc/xmon: Drop the 'valid' variable completely in 'dump_segments'

Michael Ellerman mpe at ellerman.id.au
Thu Aug 13 11:44:24 AEST 2015

On Wed, 2015-29-07 at 07:10:04 UTC, Anshuman Khandual wrote:
> Value of the 'valid' variable is zero when 'esid' is zero and it does
> not matter when 'esid' is non-zero. The variable 'valid' can be dropped
> from the function 'dump_segments' by checking for validity of 'esid'
> inside the nested code block. This patch does that change.
> Signed-off-by: Anshuman Khandual <khandual at linux.vnet.ibm.com>

Applied to powerpc next, thanks.



More information about the Linuxppc-dev mailing list