Bluetooth: Delete error messages for failed memory allocations in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 22 May 2017 06:42:28 +0000 (08:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 22 May 2017 08:23:41 +0000 (10:23 +0200)
commit5d4acfc1411050d9a105a04bea4915a68d41071d
tree18dc9e1a288904633defe4605d915410e85d154b
parent5bd425aa2b9c3e11e6a01c623ef70b39cb029ca1
Bluetooth: Delete error messages for failed memory allocations in two functions

Omit two extra messages for memory allocation failures in these functions.

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: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/ecdh_helper.c