summaryrefslogtreecommitdiffstats
path: root/arch/um/Kconfig.common
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-05-28 15:09:03 +0200
committerRichard Weinberger <richard@nod.at>2016-08-04 00:00:06 +0200
commitfed4c72689805001108f86868e5856edb3d3808a (patch)
tree34aacedc24c2eac77e898352f1f38bfddedf622b /arch/um/Kconfig.common
parentLinux 4.7 (diff)
downloadlinux-fed4c72689805001108f86868e5856edb3d3808a.tar.xz
linux-fed4c72689805001108f86868e5856edb3d3808a.zip
um: Eliminate null test after alloc_bootmem
alloc_bootmem function never returns NULL. Thus a NULL test after a call to this function is unnecessary. The Coccinelle semantic patch used to make this change is follows: @@ expression E; statement S; @@ E = alloc_bootmem(...) ... when != E - if (E == NULL) S Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/Kconfig.common')
0 files changed, 0 insertions, 0 deletions