diff options
author | Cyril Chemparathy <[email protected]> | 2012-07-20 13:16:41 -0400 |
---|---|---|
committer | Will Deacon <[email protected]> | 2013-05-30 16:02:30 +0100 |
commit | 28d4bf7a2929c5e525171d249e12662e21130ec3 (patch) | |
tree | 0d603e2c33ce17862101aa0c7e3e7a4c6c4075da /net/lapb/lapb_in.c | |
parent | adf2e9fda34c1cfff2ee4e47078b1e142adb2c30 (diff) |
ARM: mm: clean up membank size limit checks
This patch cleans up the highmem sanity check code by simplifying the range
checks with a pre-calculated size_limit. This patch should otherwise have no
functional impact on behavior.
This patch also removes a redundant (bank->start < vmalloc_limit) check, since
this is already covered by the !highmem condition.
Signed-off-by: Cyril Chemparathy <[email protected]>
Signed-off-by: Vitaly Andrianov <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Tested-by: Santosh Shilimkar <[email protected]>
Tested-by: Subash Patel <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions