netfilter: nf_log: Remove NULL check
authorShivani Bhardwaj <shivanib134@gmail.com>
Sat, 11 Jun 2016 18:56:10 +0000 (00:26 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Jun 2016 11:32:43 +0000 (13:32 +0200)
commit7e53e7f8ca24e01292d114373f35b2999301d879
tree865db5fa0c79e95105d48caf97178636aaced446
parent506e65df52f2bf250aa9b4264efd180d1646bdec
netfilter: nf_log: Remove NULL check

If 'logger' was NULL, there would be a direct jump to the label 'out',
since it has already been checked for NULL, remove this unnecessary
check.

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_log.c