Skip to content

Commit afc52b1

Browse files
Dr. David Alan Gilbertchucklever
authored andcommitted
sunrpc: Remove gss_generic_token deadcode
Commit ec596aa ("SUNRPC: Remove code behind CONFIG_RPCSEC_GSS_KRB5_SIMPLIFIED") was the last user of the routines in gss_generic_token.c. Remove the routines and associated header. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
1 parent ee0d90d commit afc52b1

File tree

5 files changed

+1
-315
lines changed

5 files changed

+1
-315
lines changed

include/linux/sunrpc/gss_asn1.h

Lines changed: 0 additions & 81 deletions
This file was deleted.

include/linux/sunrpc/gss_krb5.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include <crypto/skcipher.h>
4141
#include <linux/sunrpc/auth_gss.h>
4242
#include <linux/sunrpc/gss_err.h>
43-
#include <linux/sunrpc/gss_asn1.h>
4443

4544
/* Length of constant used in key derivation */
4645
#define GSS_KRB5_K5CLENGTH (5)

net/sunrpc/auth_gss/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
obj-$(CONFIG_SUNRPC_GSS) += auth_rpcgss.o
77

8-
auth_rpcgss-y := auth_gss.o gss_generic_token.o \
8+
auth_rpcgss-y := auth_gss.o \
99
gss_mech_switch.o svcauth_gss.o \
1010
gss_rpc_upcall.o gss_rpc_xdr.o trace.o
1111

net/sunrpc/auth_gss/gss_generic_token.c

Lines changed: 0 additions & 231 deletions
This file was deleted.

net/sunrpc/auth_gss/gss_mech_switch.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <linux/module.h>
1414
#include <linux/oid_registry.h>
1515
#include <linux/sunrpc/msg_prot.h>
16-
#include <linux/sunrpc/gss_asn1.h>
1716
#include <linux/sunrpc/auth_gss.h>
1817
#include <linux/sunrpc/svcauth_gss.h>
1918
#include <linux/sunrpc/gss_err.h>

0 commit comments

Comments
 (0)