From: Markus Elfring Date: Wed, 4 Feb 2015 13:07:56 +0000 (+0100) Subject: qlogic: Deletion of unnecessary checks before two function calls X-Git-Tag: fixes-v4.0-rc1~150^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7061b2bdd620e4dda449d4d4db69de57751ab289;p=pandora-kernel.git qlogic: Deletion of unnecessary checks before two function calls The functions kfree() and vfree() perform also input parameter validation. Thus the test around their calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: David S. Miller --- Reading git-diff-tree failed