summaryrefslogtreecommitdiffstats
path: root/fs/crypto/keyinfo.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-07-24 20:07:57 +0200
committerEric Biggers <ebiggers@google.com>2019-08-13 04:04:41 +0200
commit75798f85f2badb04074cc909dbbb93072f4041ff (patch)
tree141805b5dd8d3f13cc42526ed41e876cc1856ef9 /fs/crypto/keyinfo.c
parentLinux 5.3-rc3 (diff)
downloadlinux-75798f85f2badb04074cc909dbbb93072f4041ff.tar.xz
linux-75798f85f2badb04074cc909dbbb93072f4041ff.zip
fscrypt: remove loadable module related code
Since commit 643fa9612bf1 ("fscrypt: remove filesystem specific build config option"), fs/crypto/ can no longer be built as a loadable module. Thus it no longer needs a module_exit function, nor a MODULE_LICENSE. So remove them, and change module_init to late_initcall. Reviewed-by: Chandan Rajendra <chandan@linux.ibm.com> Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/crypto/keyinfo.c')
-rw-r--r--fs/crypto/keyinfo.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/crypto/keyinfo.c b/fs/crypto/keyinfo.c
index 207ebed918c1..9bcadc09e2ad 100644
--- a/fs/crypto/keyinfo.c
+++ b/fs/crypto/keyinfo.c
@@ -437,11 +437,6 @@ out:
return err;
}
-void __exit fscrypt_essiv_cleanup(void)
-{
- crypto_free_shash(essiv_hash_tfm);
-}
-
/*
* Given the encryption mode and key (normally the derived key, but for
* FS_POLICY_FLAG_DIRECT_KEY mode it's the master key), set up the inode's