summaryrefslogtreecommitdiff
path: root/scripts/basic/hash.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2009-05-12 02:45:12 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 22:00:52 +0400
commit34006e11ee406daa98aaf685d2de80c70e68decf (patch)
tree005c31faa699a5bc4123103cbeb809dce2f3f7a6 /scripts/basic/hash.c
parent31d59a4198f3f07da8250dfb5b698eacfaf612e5 (diff)
downloadlinux-34006e11ee406daa98aaf685d2de80c70e68decf.tar.xz
Staging: android: lowmemorykiller: cleanup android low memory killer
Clean up the code in lowmem_shrink() for the Android low memory killer so that it follows the kernel coding style. It's unnecessary to check for p->oomkilladj >= min_adj if the selected task's oomkilladj score is stored since get_mm_rss() will always be greater than zero. Cc: San Mehat <san@android.com> Cc: Arve Hjønnevåg <arve@android.com> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/basic/hash.c')
0 files changed, 0 insertions, 0 deletions