summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/mount/network.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/utils/mount/network.c b/utils/mount/network.c
index bfda5c4..ed2f825 100644
--- a/utils/mount/network.c
+++ b/utils/mount/network.c
@@ -460,17 +460,6 @@ err_bindresvport:
close(so);
return RPC_ANYSOCK;
-err_bind:
- rpc_createerr.cf_stat = RPC_SYSTEMERROR;
- rpc_createerr.cf_error.re_errno = errno;
- if (verbose) {
- nfs_error(_("%s: Unable to bind to %s socket: errno %d (%s)\n"),
- progname, p_prot == IPPROTO_UDP ? _("UDP") : _("TCP"),
- errno, strerror(errno));
- }
- close(so);
- return RPC_ANYSOCK;
-
err_connect:
rpc_createerr.cf_stat = RPC_SYSTEMERROR;
rpc_createerr.cf_error.re_errno = errno;