summaryrefslogtreecommitdiff
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@redhat.com>2011-03-23 02:30:49 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 03:44:01 +0300
commit5fda1bd5b8869574dad8e1f9f71e23bf0c186274 (patch)
treea714e0d153622bd89cf9f775e04763ccbd6c4ca5 /include/linux/mm.h
parentcbf978bfb12d7deca97d7333f65eda0381a072de (diff)
downloadlinux-5fda1bd5b8869574dad8e1f9f71e23bf0c186274.tar.xz
mm: notifier_from_errno() cleanup
While looking at some other notifier callbacks I noticed this code could use a simple cleanup. notifier_from_errno() no longer needs the if (ret)/else conditional. That same conditional is now done in notifier_from_errno(). Signed-off-by: Prarit Bhargava <prarit@redhat.com> Cc: Paul Menage <menage@google.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
0 files changed, 0 insertions, 0 deletions