target: Deletion of unnecessary checks before the function call "module_put"
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 21 Nov 2014 09:25:45 +0000 (10:25 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 2 Dec 2014 05:35:21 +0000 (21:35 -0800)
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 <elfring@users.sourceforge.net>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found