]> git.karo-electronics.de Git - karo-tx-linux.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)
commit11691f0e8aaef776320938c9018f5785d09f59c5
tree9351522fb5da507e1723956e7fbd09c239121a67
parented011a23c90796c386ae7004ef0823ade6583d21
[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