summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2014-11-21 10:25:45 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2014-12-02 06:35:21 +0100
commit2ed37f6c9b69092afbbf2a990336f8cbd303947d (patch)
treeea8fef3d2bf536989ae391b7e5365600b227f74b /include
parenttarget: Fix target_core_register_fabric() for built-in fabric modules (diff)
downloadlinux-2ed37f6c9b69092afbbf2a990336f8cbd303947d.tar.xz
linux-2ed37f6c9b69092afbbf2a990336f8cbd303947d.zip
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 <elfring@users.sourceforge.net> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions