projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[cascardo/linux.git]
/
fs
/
btrfs
/
hash.c
diff --git
a/fs/btrfs/hash.c
b/fs/btrfs/hash.c
index
85889aa
..
64f15bb
100644
(file)
--- a/
fs/btrfs/hash.c
+++ b/
fs/btrfs/hash.c
@@
-20,10
+20,8
@@
static struct crypto_shash *tfm;
int __init btrfs_hash_init(void)
{
tfm = crypto_alloc_shash("crc32c", 0, 0);
- if (IS_ERR(tfm))
- return PTR_ERR(tfm);
- return
0
;
+ return
PTR_ERR_OR_ZERO(tfm)
;
}
void btrfs_hash_exit(void)