diff options
author | Eric Biggers <ebiggers@google.com> | 2018-04-30 15:51:37 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-05-20 16:21:00 -0400 |
commit | 9919479b835cb1c92b75965f2e120395078a1c55 (patch) | |
tree | 9a53724f12e5f694b54b6e25e9fc97927a92dda7 /fs/crypto/fname.c | |
parent | 54222025f2fe8055fa88c39b5d9f68cbd76b1be0 (diff) | |
download | linux-9919479b835cb1c92b75965f2e120395078a1c55.tar.gz |
fscrypt: remove unnecessary NULL check when allocating skcipher
crypto_alloc_skcipher() returns an ERR_PTR() on failure, not NULL.
Remove the unnecessary check for NULL.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/crypto/fname.c')
0 files changed, 0 insertions, 0 deletions