From: Markus Elfring Date: Thu, 20 Nov 2014 10:44:20 +0000 (-0300) Subject: [media] platform: Deletion of unnecessary checks before two function calls X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=332b295d107466df8b05a99a914adbe21401449b;p=pandora-kernel.git [media] platform: Deletion of unnecessary checks before two function calls The functions i2c_put_adapter() and release_firmware() test whether their argument is NULL and then return 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