]> git.baikalelectronics.ru Git - kernel.git/commit
[media] DaVinci-VPBE: Delete two error messages for a failed memory allocation
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 11 Oct 2016 07:56:13 +0000 (04:56 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:19:50 +0000 (12:19 -0200)
commit4bb5008e85c30d6416c393739e5e0e8d12d0ffd1
tree909ccc2ff092a7f624ea314ffd367d7dbde3cfac
parent1d0e19a1be1a0b0605e50693a3206a4c79a61979
[media] DaVinci-VPBE: Delete two 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/vpbe.c