summaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-01-13 01:59:42 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 17:03:09 +0100
commitf0f2c2b5b40b5e621a47a6a274117cce77841f1e (patch)
tree1ca673aaf564af6a91468ca807b99b5b28dc23dd /kernel/printk.c
parentkptr_restrict for hiding kernel pointers from unprivileged users (diff)
downloadlinux-f0f2c2b5b40b5e621a47a6a274117cce77841f1e.tar.xz
linux-f0f2c2b5b40b5e621a47a6a274117cce77841f1e.zip
dca: remove unneeded NULL check
The return here doesn't release the locks or re-enable IRQs. But as Andrew Morton points out, domain is never NULL. list_first_entry() essentially never returns NULL and also we already verified that the list is not empty. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Cc: David Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk.c')
0 files changed, 0 insertions, 0 deletions