summaryrefslogtreecommitdiff
path: root/fs/verity/signature.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-12-14 22:04:20 -0800
committerEric Biggers <ebiggers@google.com>2023-01-01 15:46:48 -0800
commit86f66569baca98478b7ff2f49c8ee54cf3b108cd (patch)
tree7858d26683cec9b4917e44ac34b329ee3fda8fb2 /fs/verity/signature.c
parent72ea15f0ddd29b9facdab836a2f5d3e28df9b202 (diff)
fsverity: remove debug messages and CONFIG_FS_VERITY_DEBUG
I've gotten very little use out of these debug messages, and I'm not aware of anyone else having used them. Indeed, sprinkling pr_debug around is not really a best practice these days, especially for filesystem code. Tracepoints are used instead. Let's just remove these and start from a clean slate. This change does not affect info, warning, and error messages. Signed-off-by: Eric Biggers <ebiggers@google.com> Link: https://lore.kernel.org/r/20221215060420.60692-1-ebiggers@kernel.org
Diffstat (limited to 'fs/verity/signature.c')
-rw-r--r--fs/verity/signature.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/verity/signature.c b/fs/verity/signature.c
index 143a530a8008..e7d3ca919a1e 100644
--- a/fs/verity/signature.c
+++ b/fs/verity/signature.c
@@ -82,8 +82,6 @@ int fsverity_verify_signature(const struct fsverity_info *vi,
return err;
}
- pr_debug("Valid signature for file digest %s:%*phN\n",
- hash_alg->name, hash_alg->digest_size, vi->file_digest);
return 0;
}