From: Markus Elfring Date: Thu, 20 Nov 2014 15:11:56 +0000 (+0100) Subject: net: USB: Deletion of unnecessary checks before the function call "kfree" X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91ecee6846704cbd0ec14509b86e99c291cd9bcd;p=pandora-kernel.git net: USB: Deletion of unnecessary checks before the function call "kfree" The kfree() 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: David S. Miller --- Reading git-diff-tree failed