IPVS: ip_vs_{un,}bind_scheduler NULL arguments
authorSimon Horman <horms@verge.net.au>
Sun, 22 Aug 2010 12:37:52 +0000 (21:37 +0900)
committerSimon Horman <horms@verge.net.au>
Mon, 4 Oct 2010 13:45:24 +0000 (22:45 +0900)
commit2fabf35bfcd89445c54cf1e6a5437dd3cf924a92
treeac44075362b3b17d25f841c50622c0603fc2d3c8
parent6e08bfb879574524cc9a67be960c684989fd986c
IPVS: ip_vs_{un,}bind_scheduler NULL arguments

In general NULL arguments aren't passed by the few callers that exist,
so don't test for them.

The exception is to make passing NULL to ip_vs_unbind_scheduler() a noop.

Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: Julian Anastasov <ja@ssi.bg>
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/ipvs/ip_vs_sched.c