ssb: Delete an error message for a failed memory allocation in ssb_devices_register()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 17 May 2017 16:12:16 +0000 (18:12 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 May 2017 13:46:51 +0000 (16:46 +0300)
commitc6c092dcb21e4def00f2b5e077d03434c38acfe4
tree80f0da8b26774478bf72e6c63724129788656822
parentb9b238726716bed2ba2f3c1cd755e2e5340dc6ef
ssb: Delete an error message for a failed memory allocation in ssb_devices_register()

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>
Acked-by: Michael Büsch <m@bues.ch>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/ssb/main.c