summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorChuck Lever2013-03-16 20:55:19 +0100
committerTrond Myklebust2013-03-29 20:43:39 +0100
commit6599c0acae10e929b5315821c1d064cd13fe7648 (patch)
tree76d50e7fcbc6fe1f48606f20593d2fa2e5b8a741 /include/linux/sunrpc
parentSUNRPC: Refactor nfsd4_do_encode_secinfo() (diff)
downloadkernel-qcow2-linux-6599c0acae10e929b5315821c1d064cd13fe7648.tar.gz
kernel-qcow2-linux-6599c0acae10e929b5315821c1d064cd13fe7648.tar.xz
kernel-qcow2-linux-6599c0acae10e929b5315821c1d064cd13fe7648.zip
SUNRPC: Make gss_mech_get() static
gss_mech_get() is no longer used outside of gss_mech_switch.c. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/gss_api.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h
index fca23380e667..f32b7a47e13f 100644
--- a/include/linux/sunrpc/gss_api.h
+++ b/include/linux/sunrpc/gss_api.h
@@ -145,9 +145,6 @@ struct gss_api_mech *gss_mech_get_by_pseudoflavor(u32);
/* Fill in an array with a list of supported pseudoflavors */
int gss_mech_list_pseudoflavors(rpc_authflavor_t *, int);
-/* Just increments the mechanism's reference count and returns its input: */
-struct gss_api_mech * gss_mech_get(struct gss_api_mech *);
-
/* For every successful gss_mech_get or gss_mech_get_by_* call there must be a
* corresponding call to gss_mech_put. */
void gss_mech_put(struct gss_api_mech *);