commit | c26ec88ea86ad5122a6ea5ad635e6a1f6c395d74 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Wed Oct 15 22:05:14 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 16 11:21:51 2008 -0700 |
tree | 8e7e95851dc24327fbdb05c90b2eb0b40f60cadc | |
parent | 923f7f6970bd448b8e88b9e4be10fd01fc7106a4 [diff] |
resources: tidy __request_region() No functional change. Just return NULL for kzalloc failure immediately, rather than wrapping the whole function body in the body of an "if". Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>