From: Markus Elfring Date: Thu, 20 Nov 2014 12:26:36 +0000 (-0300) Subject: [media] USB: Deletion of unnecessary checks before three function calls X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83f56f7cbd070c0d9772221aa61198ef74c96cc4;p=pandora-kernel.git [media] USB: Deletion of unnecessary checks before three function calls GIT_AUTHOR_DATE=1416486805 The functions pvr2_hdw_destroy(), rc_unregister_device() and vfree() perform also input parameter validation. 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