diff options
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | 2015-07-29 12:40:04 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-08-12 15:05:47 +1000 |
commit | 8218a3031c204b20582ba689aaf3bb6d318779d3 (patch) | |
tree | 9976c3f33138ef01be187973abedc8ea3fe238da /README | |
parent | 9c61f7a0ad6fdff85b0c4c648e0c94947ea05c76 (diff) | |
download | linux-8218a3031c204b20582ba689aaf3bb6d318779d3.tar.bz2 |
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 <khandual@linux.vnet.ibm.com>
[mpe: Rewrite change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions