commit | 2ed37f6c9b69092afbbf2a990336f8cbd303947d | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Fri Nov 21 10:25:45 2014 +0100 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Dec 01 21:35:21 2014 -0800 |
tree | ea8fef3d2bf536989ae391b7e5365600b227f74b | |
parent | e7b7af6e98b390c1f7d5d208d18cb7d8b7beb0f1 [diff] |
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>