summaryrefslogtreecommitdiff
path: root/fs/bcachefs/checksum.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-07-07 11:38:29 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:10:06 +0300
commitc8b4534d820f47480e7d5efb38d13e10919ccc7c (patch)
tree41edf7df973f36eb80b420ef6e62c4857d8d07ed /fs/bcachefs/checksum.c
parent8726dc936fb79fda4a0280033cdd180f7f343cdd (diff)
downloadlinux-c8b4534d820f47480e7d5efb38d13e10919ccc7c.tar.xz
bcachefs: Delete redundant log messages
Now that we have distinct error codes for different memory allocation failures, the early init log messages are no longer needed. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/checksum.c')
-rw-r--r--fs/bcachefs/checksum.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/bcachefs/checksum.c b/fs/bcachefs/checksum.c
index f2a56d786024..20d0e8afc1ad 100644
--- a/fs/bcachefs/checksum.c
+++ b/fs/bcachefs/checksum.c
@@ -680,8 +680,6 @@ int bch2_fs_encryption_init(struct bch_fs *c)
struct bch_key key;
int ret = 0;
- pr_verbose_init(c->opts, "");
-
c->sha256 = crypto_alloc_shash("sha256", 0, 0);
ret = PTR_ERR_OR_ZERO(c->sha256);
if (ret) {
@@ -707,6 +705,5 @@ int bch2_fs_encryption_init(struct bch_fs *c)
goto out;
out:
memzero_explicit(&key, sizeof(key));
- pr_verbose_init(c->opts, "ret %i", ret);
return ret;
}