From: Anshuman Khandual Date: Wed, 29 Jul 2015 07:10:04 +0000 (+0530) Subject: powerpc/xmon: Drop the valid variable completely in dump_segments() X-Git-Tag: omap-for-v4.3/fixes-rc1~100^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8218a3031c204b20582ba689aaf3bb6d318779d3;p=pandora-kernel.git powerpc/xmon: Drop the valid variable completely in dump_segments() The value of 'valid' is always zero when 'esid' is zero, and if 'esid' is non-zero then the value of 'valid' is irrelevant because we are using logical or in the if expression. In fact 'valid' can be dropped completely from dump_segments() by simply doing the check with SLB_ESID_V directly in the if. Signed-off-by: Anshuman Khandual [mpe: Rewrite change log] Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed