ecryptfs: remove unnessesary null check in ecryptfs_keyring_auth_tok_for_sig
authorYueHaibing <yuehaibing@huawei.com>
Mon, 27 May 2019 13:28:14 +0000 (21:28 +0800)
committerTyler Hicks <tyhicks@canonical.com>
Wed, 19 Jun 2019 05:53:44 +0000 (05:53 +0000)
commit29a51df0609c74e7163d41334021166d6a34d083
treefcc9de67d914998f5d52ebb7deba78f528290b5d
parent96827c3044cf2562af2f5f09988f48acdbee25c7
ecryptfs: remove unnessesary null check in ecryptfs_keyring_auth_tok_for_sig

request_key and ecryptfs_get_encrypted_key never
return a NULL pointer, so no need do a null check.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/keystore.c