]> git.baikalelectronics.ru Git - kernel.git/commit
ipack: Delete an error message for a failed memory allocation in ipack_device_read_id()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 15 May 2017 09:08:09 +0000 (11:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:59:06 +0000 (16:59 +0200)
commit062afe2c583a6ac6f6b1f6324dbbfe8eee579b85
tree49fdcf6211f8cc3e53819f8ec8418a5d863d8a01
parentb55d90d530782fe1af57efd4ea393808915a0dbc
ipack: Delete an error message for a failed memory allocation in ipack_device_read_id()

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: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ipack/ipack.c