From: Markus Elfring Date: Tue, 3 Feb 2015 14:27:38 +0000 (-0300) Subject: [media] V4L2: Delete an unnecessary check before the function call "media_entity_put" X-Git-Tag: omap-for-v4.1/fixes-rc1~72^2~1^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5164d6aac0ed1b711a7b29bb556844e40f422ec6;p=pandora-kernel.git [media] V4L2: Delete an unnecessary check before the function call "media_entity_put" The media_entity_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed