summaryrefslogtreecommitdiff
path: root/crypto/cast5_generic.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-05-01 01:51:45 +0300
committerTheodore Ts'o <tytso@mit.edu>2018-05-20 23:21:04 +0300
commit1086c80c4d9144ff32741ddbca2fbb268a5de5f5 (patch)
treee609f6cefcb7b7053534f62acc2f741bbae0667f /crypto/cast5_generic.c
parente12ee6836a3fd3c6ebc9b2dc8a7974af592340d0 (diff)
downloadlinux-1086c80c4d9144ff32741ddbca2fbb268a5de5f5.tar.xz
fscrypt: remove unnecessary check for non-logon key type
We're passing 'key_type_logon' to request_key(), so the found key is guaranteed to be of type "logon". Thus, there is no reason to check later that the key is really a "logon" key. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'crypto/cast5_generic.c')
0 files changed, 0 insertions, 0 deletions