eCryptfs: Delete a check before the function call "key_put"
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 26 Jun 2015 16:18:54 +0000 (18:18 +0200)
committerTyler Hicks <tyhicks@canonical.com>
Tue, 18 Aug 2015 22:29:49 +0000 (17:29 -0500)
commit0dad87fcb732691bfd3183acccda6709e1e759ca
tree1fdf330c968fa00eb98301d8c7c390005866c7c9
parent5556e7e6d30e8e9b5ee51b0e5edd526ee80e5e36
eCryptfs: Delete a check before the function call "key_put"

The key_put() function tests whether its argument is NULL and then
returns immediately. Thus the test around this call might not be needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/crypto.c