]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: etb10: Delete an error message for a failed memory allocation in etb_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 5 Jun 2017 20:15:07 +0000 (14:15 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:45:24 +0000 (11:45 +0200)
commit22f729c617e6646ebe44c03844a095177a8ac19f
treef777859ed50fee02c75bf9da8122bc98f31b28b9
parent1404c04dc7f2c57d10309b7e2a5b3b4d9395095c
coresight: etb10: Delete an error message for a failed memory allocation in etb_probe()

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: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etb10.c