commit | 92859a5efdfa71f712ec1d213f43061965d3e9b4 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Fri Jun 26 17:28:55 2015 +0200 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Aug 04 14:09:52 2015 -0700 |
tree | 67effc4d6087bdc879e6b8c91eac6759f507eefc | |
parent | 6c84461c0cb0db3f4f56695ac9944451b34bf431 [diff] |
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>