KEYS: Delete an error message for a failed memory allocation in get_derived_key()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 8 Jun 2017 13:47:56 +0000 (14:47 +0100)
committerJames Morris <james.l.morris@oracle.com>
Fri, 9 Jun 2017 03:29:46 +0000 (13:29 +1000)
commit41f1c53e0d7d6e79087d5f5e18c467747126a3fc
tree0a992d5a59483175181e124afce1a2d89de09d84
parent4e880168e9ffb1cdbdb72b3b48ab0324b30c2d62
KEYS: Delete an error message for a failed memory allocation in get_derived_key()

Omit an extra message for a memory allocation failure in this function.

This issue was detected by using the Coccinelle software.

Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/keys/encrypted-keys/encrypted.c