diff options
author | 2019-12-09 13:18:29 -0800 | |
---|---|---|
committer | 2019-12-31 10:33:50 -0600 | |
commit | b7e8d3d27edde7a05e195e0015bc6873f6263a30 (patch) | |
tree | 51b5b8ebc0cac4f13d96d3c8a85d5a4dc1fbfb37 /fs | |
parent | fscrypt: move fscrypt_valid_enc_modes() to policy.c (diff) | |
download | linux-b7e8d3d27edde7a05e195e0015bc6873f6263a30.tar.gz linux-b7e8d3d27edde7a05e195e0015bc6873f6263a30.tar.bz2 linux-b7e8d3d27edde7a05e195e0015bc6873f6263a30.zip |
fscrypt: remove fscrypt_is_direct_key_policy()
fscrypt_is_direct_key_policy() is no longer used, so remove it.
Link: https://lore.kernel.org/r/20191209211829.239800-5-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/crypto/fscrypt_private.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/crypto/fscrypt_private.h b/fs/crypto/fscrypt_private.h index 71f496fe7173..b22e8decebed 100644 --- a/fs/crypto/fscrypt_private.h +++ b/fs/crypto/fscrypt_private.h @@ -136,12 +136,6 @@ fscrypt_policy_flags(const union fscrypt_policy *policy) BUG(); } -static inline bool -fscrypt_is_direct_key_policy(const union fscrypt_policy *policy) -{ - return fscrypt_policy_flags(policy) & FSCRYPT_POLICY_FLAG_DIRECT_KEY; -} - /** * For encrypted symlinks, the ciphertext length is stored at the beginning * of the string in little-endian format. |