]> git.baikalelectronics.ru Git - kernel.git/commit
staging: android: ashmem: clean up range inline functions
authorGuillaume Tucker <guillaume.tucker@gmail.com>
Mon, 5 Dec 2016 18:55:38 +0000 (18:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Dec 2016 09:18:07 +0000 (10:18 +0100)
commit4aa78a7a11f6beb9ded6591d6596a011aa074944
treee36ea0f684d557e013824c284da2e7f2ba5a8f0e
parent3743157297d25403fff02a4eda01a01b0fe4de0c
staging: android: ashmem: clean up range inline functions

Clean up the code in inline functions that deal with page and
range addresses.  Use bool instead of int for boolean return
types and remove superfluous brackets.

Signed-off-by: Guillaume Tucker <guillaume.tucker@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ashmem.c