aboutsummaryrefslogtreecommitdiffstats
path: root/fs/verity
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-05-11 12:21:18 -0700
committerEric Biggers <ebiggers@google.com>2020-05-12 16:44:00 -0700
commit9cd6b593cfc9eaa476c9a3fa768b08bca73213d0 (patch)
tree88c7dafda27184d521abadf43dec590fb80fa10f /fs/verity
parentfs-verity: fix all kerneldoc warnings (diff)
downloadlinux-dev-9cd6b593cfc9eaa476c9a3fa768b08bca73213d0.tar.xz
linux-dev-9cd6b593cfc9eaa476c9a3fa768b08bca73213d0.zip
fs-verity: remove unnecessary extern keywords
Remove the unnecessary 'extern' keywords from function declarations. This makes it so that we don't have a mix of both styles, so it won't be ambiguous what to use in new fs-verity patches. This also makes the code shorter and matches the 'checkpatch --strict' expectation. Link: https://lore.kernel.org/r/20200511192118.71427-3-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/verity')
-rw-r--r--fs/verity/fsverity_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/verity/fsverity_private.h b/fs/verity/fsverity_private.h
index 8788f3a5035c..e96d99d5145e 100644
--- a/fs/verity/fsverity_private.h
+++ b/fs/verity/fsverity_private.h
@@ -134,7 +134,7 @@ void __init fsverity_check_hash_algs(void);
/* init.c */
-extern void __printf(3, 4) __cold
+void __printf(3, 4) __cold
fsverity_msg(const struct inode *inode, const char *level,
const char *fmt, ...);