diff options
| author | 2014-11-18 20:37:05 +0100 | |
|---|---|---|
| committer | 2014-11-20 13:08:43 +0100 | |
| commit | 982f405136a44754e884184d24b70d2d4cefcb7a (patch) | |
| tree | 859f3fc225ed106392df89500c2deac8de57326d /tools | |
| parent | netfilter: nf_conntrack_h323: lookup route from proper net namespace (diff) | |
| download | linux-dev-982f405136a44754e884184d24b70d2d4cefcb7a.tar.xz linux-dev-982f405136a44754e884184d24b70d2d4cefcb7a.zip | |
netfilter: Deletion of unnecessary checks before two function calls
The functions free_percpu() and module_put() test whether their argument
is NULL and then return 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>
Acked-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
