]> git.karo-electronics.de Git - linux-beck.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)
commit2ac0989242fbf2f2da7109eab08f68382884a81a
tree909ccc2ff092a7f624ea314ffd367d7dbde3cfac
parentf42afd29e60585904fc5127862263437ed7cbbd5
[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