diff options
author | Ryan O'Hara <rohara@redhat.com> | 2013-08-20 09:29:43 -0500 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-08-22 14:04:29 +0900 |
commit | 6ec5f5e7fdcd88862f5e988270ce2d478e8c89b6 (patch) | |
tree | 4d011aeba89ce8760078385ccfb5670339e85114 | |
parent | b9ed25e1c5b3014982507adcfaa3597b6e416305 (diff) | |
download | ipvsadm-6ec5f5e7fdcd88862f5e988270ce2d478e8c89b6.tar.gz |
libipvs: Remove redundant CHECK_PE
Since the CHECK_COMPAT_SVC macro calls CHECK_PE, remove the extra
CHECK_PE call from ipvs_get_service().
Signed-off-by: Ryan O'Hara <rohara@redhat.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | libipvs/libipvs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libipvs/libipvs.c b/libipvs/libipvs.c index ef242db..309ccce 100644 --- a/libipvs/libipvs.c +++ b/libipvs/libipvs.c @@ -965,7 +965,6 @@ ipvs_get_service_err2: #endif CHECK_COMPAT_SVC(svc, NULL); - CHECK_PE(svc, NULL); if (getsockopt(sockfd, IPPROTO_IP, IP_VS_SO_GET_SERVICE, (char *)svc, &len)) { free(svc); |