aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2015-07-02 17:58:21 +0200
committerDavid S. Miller <[email protected]>2015-07-03 09:27:42 -0700
commitf6e1c91666990d06ba37c76129495c724202144d (patch)
treedc07207a93a7420c147acbd9cd87e6f79109adfe /lib/memory-notifier-error-inject.c
parent87775312a86bcf213e3b21f6f7c79e2e00d96f7b (diff)
net-RDS: Delete an unnecessary check 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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions