diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-10-15 22:05:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 11:21:51 -0700 |
commit | c26ec88ea86ad5122a6ea5ad635e6a1f6c395d74 (patch) | |
tree | 8e7e95851dc24327fbdb05c90b2eb0b40f60cadc /lib/sha1.c | |
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>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions