ipvs: Use IS_ERR_OR_NULL(svc) instead of IS_ERR(svc) || svc == NULL
authorGao Feng <fgao@ikuai8.com>
Thu, 21 Jul 2016 23:55:41 +0000 (07:55 +0800)
committerSimon Horman <horms@verge.net.au>
Mon, 25 Jul 2016 01:25:09 +0000 (10:25 +0900)
commitae9442f688c3e6efe1f39cc9e0b906f0a7cd0421
tree64203a6f60617cde5fedaa4409b4b393fd8c2177
parent4b512e1c1f8de6b9ceb796ecef8658e0a083cab7
ipvs: Use IS_ERR_OR_NULL(svc) instead of IS_ERR(svc) || svc == NULL

This minor refactoring does not change the logic of function
ip_vs_genl_dump_dests.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_ctl.c
This page took 0.026709 seconds and 5 git commands to generate.