Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfc935af authored by Eric Biggers's avatar Eric Biggers Committed by Jaegeuk Kim
Browse files

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: default avatarEric Biggers <ebiggers@google.com>
parent 51a6bbc5
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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.