From: Markus Elfring Date: Fri, 21 Nov 2014 09:25:45 +0000 (+0100) Subject: target: Deletion of unnecessary checks before the function call "module_put" X-Git-Tag: omap-for-v3.19/fixes-rc1~19^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed37f6c9b69092afbbf2a990336f8cbd303947d;p=pandora-kernel.git target: Deletion of unnecessary checks before the function call "module_put" The module_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: Nicholas Bellinger --- Reading git-diff-tree failed