svn commit: r259842 - head/sys/rpc
Dimitry Andric
dim at FreeBSD.org
Tue Dec 24 20:55:23 UTC 2013
Author: dim
Date: Tue Dec 24 20:55:22 2013
New Revision: 259842
URL: http://svnweb.freebsd.org/changeset/base/259842
Log:
Remove some unused static const strings under sys/rpc, which have never
been used since the initial commit (r177633).
MFC after: 3 days
Modified:
head/sys/rpc/clnt_dg.c
head/sys/rpc/clnt_vc.c
Modified: head/sys/rpc/clnt_dg.c
==============================================================================
--- head/sys/rpc/clnt_dg.c Tue Dec 24 20:42:48 2013 (r259841)
+++ head/sys/rpc/clnt_dg.c Tue Dec 24 20:55:22 2013 (r259842)
@@ -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
Modified: head/sys/rpc/clnt_vc.c
==============================================================================
--- head/sys/rpc/clnt_vc.c Tue Dec 24 20:42:48 2013 (r259841)
+++ head/sys/rpc/clnt_vc.c Tue Dec 24 20:55:22 2013 (r259842)
@@ -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.
More information about the svn-src-head
mailing list