diff options
author | Eric Biggers <ebiggers@google.com> | 2018-05-01 00:51:45 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-05-20 22:21:04 +0200 |
commit | 1086c80c4d9144ff32741ddbca2fbb268a5de5f5 (patch) | |
tree | e609f6cefcb7b7053534f62acc2f741bbae0667f /fs/binfmt_aout.c | |
parent | fscrypt: make fscrypt_operations.max_namelen an integer (diff) | |
download | linux-1086c80c4d9144ff32741ddbca2fbb268a5de5f5.tar.xz linux-1086c80c4d9144ff32741ddbca2fbb268a5de5f5.zip |
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 'fs/binfmt_aout.c')
0 files changed, 0 insertions, 0 deletions