summaryrefslogtreecommitdiffstats
path: root/sys/rpc
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-12-24 20:55:22 +0000
committerdim <dim@FreeBSD.org>2013-12-24 20:55:22 +0000
commit7e48e159768e8198bd2a2b3679c3fd30ad9f3a69 (patch)
treeb48e83ac55b7867a03575244e1c25d55dc944da5 /sys/rpc
parentc487db8403006259fcc66411a60fd00defbec328 (diff)
downloadFreeBSD-src-7e48e159768e8198bd2a2b3679c3fd30ad9f3a69.zip
FreeBSD-src-7e48e159768e8198bd2a2b3679c3fd30ad9f3a69.tar.gz
Remove some unused static const strings under sys/rpc, which have never
been used since the initial commit (r177633). MFC after: 3 days
Diffstat (limited to 'sys/rpc')
-rw-r--r--sys/rpc/clnt_dg.c2
-rw-r--r--sys/rpc/clnt_vc.c5
2 files changed, 0 insertions, 7 deletions
diff --git a/sys/rpc/clnt_dg.c b/sys/rpc/clnt_dg.c
index 66fc4c0..36e63c6 100644
--- a/sys/rpc/clnt_dg.c
+++ b/sys/rpc/clnt_dg.c
@@ -92,8 +92,6 @@ static struct clnt_ops clnt_dg_ops = {
.cl_control = clnt_dg_control
};
-static const char mem_err_clnt_dg[] = "clnt_dg_create: out of memory";
-
/*
* A pending RPC request which awaits a reply. Requests which have
* received their reply will have cr_xid set to zero and cr_mrep to
diff --git a/sys/rpc/clnt_vc.c b/sys/rpc/clnt_vc.c
index 9ab548f..44d1097 100644
--- a/sys/rpc/clnt_vc.c
+++ b/sys/rpc/clnt_vc.c
@@ -107,11 +107,6 @@ static struct clnt_ops clnt_vc_ops = {
static void clnt_vc_upcallsdone(struct ct_data *);
-static const char clnt_vc_errstr[] = "%s : %s";
-static const char clnt_vc_str[] = "clnt_vc_create";
-static const char clnt_read_vc_str[] = "read_vc";
-static const char __no_mem_str[] = "out of memory";
-
/*
* Create a client handle for a connection.
* Default options are set, which the user can change using clnt_control()'s.
OpenPOWER on IntegriCloud