Messages in this thread | | | Date | Fri, 03 Jul 2015 09:28:19 -0700 (PDT) | Subject | Re: [PATCH] netlink: Delete an unnecessary check before the function call "module_put" | From | David Miller <> |
| |
From: SF Markus Elfring <elfring@users.sourceforge.net> Date: Thu, 02 Jul 2015 18:45:53 +0200
> From: Markus Elfring <elfring@users.sourceforge.net> > Date: Thu, 2 Jul 2015 18:38:12 +0200 > > 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>
Applied.
| |