aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2013-03-16 15:55:19 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-29 15:43:39 -0400
commit6599c0acae10e929b5315821c1d064cd13fe7648 (patch)
tree76d50e7fcbc6fe1f48606f20593d2fa2e5b8a741 /net
parenta77c806fb9d097bb7733b64207cf52fc2c6438bb (diff)
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 'net')
-rw-r--r--net/sunrpc/auth_gss/gss_mech_switch.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/sunrpc/auth_gss/gss_mech_switch.c b/net/sunrpc/auth_gss/gss_mech_switch.c
index deaa7ae81cdf..89416522ef79 100644
--- a/net/sunrpc/auth_gss/gss_mech_switch.c
+++ b/net/sunrpc/auth_gss/gss_mech_switch.c
@@ -132,15 +132,12 @@ gss_mech_unregister(struct gss_api_mech *gm)
132 132
133EXPORT_SYMBOL_GPL(gss_mech_unregister); 133EXPORT_SYMBOL_GPL(gss_mech_unregister);
134 134
135struct gss_api_mech * 135static struct gss_api_mech *gss_mech_get(struct gss_api_mech *gm)
136gss_mech_get(struct gss_api_mech *gm)
137{ 136{
138 __module_get(gm->gm_owner); 137 __module_get(gm->gm_owner);
139 return gm; 138 return gm;
140} 139}
141 140
142EXPORT_SYMBOL_GPL(gss_mech_get);
143
144static struct gss_api_mech * 141static struct gss_api_mech *
145_gss_mech_get_by_name(const char *name) 142_gss_mech_get_by_name(const char *name)
146{ 143{