]> git.baikalelectronics.ru Git - kernel.git/commit
staging: android/lowmemorykiller: No need for task->signal check
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 6 Feb 2012 16:29:54 +0000 (20:29 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 00:55:46 +0000 (16:55 -0800)
commit2c89d10a87547157afe9e00201cd8ccef172510a
tree95cc4f68ea7d59a95aea16595db5b53ff3f4915f
parente1a5b748b8665bf5f599b524aa3c6a85cf188200
staging: android/lowmemorykiller: No need for task->signal check

task->signal == NULL is not possible, so no need for these checks.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/lowmemorykiller.c