From 95be3b747365bce3593688ea9e3c824a7dd24b6f Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Tue, 4 Jan 2022 13:23:04 -0500 Subject: mount: removed unused lable Commit f054365d removed the unnecessary bind() call but did not remove the error lable. Signed-off-by: Steve Dickson --- utils/mount/network.c | 11 ----------- 1 file changed, 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; -- cgit v1.2.1