summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/auth-null.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpc-lib/src/auth-null.c')
-rw-r--r--rpc/rpc-lib/src/auth-null.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/rpc/rpc-lib/src/auth-null.c b/rpc/rpc-lib/src/auth-null.c
index ebdcc8ff8e7..b030341abb4 100644
--- a/rpc/rpc-lib/src/auth-null.c
+++ b/rpc/rpc-lib/src/auth-null.c
@@ -22,15 +22,6 @@
int
auth_null_request_init (rpcsvc_request_t *req, void *priv)
{
- if (!req)
- return -1;
-
- memset (req->cred.authdata, 0, GF_MAX_AUTH_BYTES);
- req->cred.datalen = 0;
-
- memset (req->verf.authdata, 0, GF_MAX_AUTH_BYTES);
- req->verf.datalen = 0;
-
return 0;
}