diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-06-26 17:28:55 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-08-04 23:09:52 +0200 |
commit | 92859a5efdfa71f712ec1d213f43061965d3e9b4 (patch) | |
tree | 67effc4d6087bdc879e6b8c91eac6759f507eefc /fs/f2fs/crypto_policy.c | |
parent | Merge tag 'pci-v4.2-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
download | linux-92859a5efdfa71f712ec1d213f43061965d3e9b4.tar.xz linux-92859a5efdfa71f712ec1d213f43061965d3e9b4.zip |
f2fs crypto: delete an unnecessary 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 the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/crypto_policy.c')
0 files changed, 0 insertions, 0 deletions