]> git.baikalelectronics.ru Git - kernel.git/commit
[media] DaVinci-VPFE-Capture: Delete three error messages for a failed memory allocation
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 08:22:47 +0000 (05:22 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:42:41 +0000 (12:42 -0200)
commita482b6bd6b48003a2a54a7f7204378a04f0cca6f
tree9351522fb5da507e1723956e7fbd09c239121a67
parent3c7dcbb858918e9fe9f88d84468ba8e200109e40
[media] DaVinci-VPFE-Capture: Delete three error messages for a failed memory allocation

The script "checkpatch.pl" pointed information out like the following.

WARNING: Possible unnecessary 'out of memory' message

Thus remove such a logging statement in two functions.

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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpfe_capture.c