diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-12-15 13:40:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-20 17:01:51 +0100 |
commit | 207f135d819344c03333246f784f6666e652e081 (patch) | |
tree | 8853b140b284559e977ecf49431352c0782897a7 /net/sunrpc | |
parent | f6a7ce5ae416925954a23be83dee621dc8a4b98a (diff) | |
download | linux-stable-207f135d819344c03333246f784f6666e652e081.tar.gz linux-stable-207f135d819344c03333246f784f6666e652e081.tar.bz2 linux-stable-207f135d819344c03333246f784f6666e652e081.zip |
cred: get rid of CONFIG_DEBUG_CREDENTIALS
commit ae1914174a63a558113e80d24ccac2773f9f7b2b upstream.
This code is rarely (never?) enabled by distros, and it hasn't caught
anything in decades. Let's kill off this legacy debug code.
Suggested-by: Linus Torvalds <torvalds@linuxfoundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/auth.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c index 814b0169f972..ec41b26af76e 100644 --- a/net/sunrpc/auth.c +++ b/net/sunrpc/auth.c @@ -40,9 +40,6 @@ static unsigned long number_cred_unused; static struct cred machine_cred = { .usage = ATOMIC_INIT(1), -#ifdef CONFIG_DEBUG_CREDENTIALS - .magic = CRED_MAGIC, -#endif }; /* |