Re: [PATCH nf-next] netfilter: nf_log: Remove NULL check

2016-06-23 Thread Pablo Neira Ayuso
On Sun, Jun 12, 2016 at 12:26:10AM +0530, Shivani Bhardwaj wrote: > 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. Applied, thanks Shivani. -- To unsubscribe from this list: send the line "unsubs

[PATCH nf-next] netfilter: nf_log: Remove NULL check

2016-06-11 Thread Shivani Bhardwaj
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 --- net/netfilter/nf_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/nf_log.c