um, x86: bury crypto_tfm_ctx_offset
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Sep 2021 21:32:55 +0000 (21:32 +0000)
committerRichard Weinberger <richard@nod.at>
Tue, 21 Dec 2021 20:31:35 +0000 (21:31 +0100)
unused since 2011

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/shared/common-offsets.h
arch/x86/kernel/asm-offsets.c

index edc90ab..b248310 100644 (file)
@@ -18,9 +18,6 @@ DEFINE(UM_NR_CPUS, NR_CPUS);
 DEFINE(UM_GFP_KERNEL, GFP_KERNEL);
 DEFINE(UM_GFP_ATOMIC, GFP_ATOMIC);
 
-/* For crypto assembler code. */
-DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx));
-
 DEFINE(UM_THREAD_SIZE, THREAD_SIZE);
 
 DEFINE(UM_HZ, HZ);
index ecd3fd6..9fb0a2f 100644 (file)
@@ -38,9 +38,6 @@ static void __used common(void)
 #endif
 
        BLANK();
-       OFFSET(crypto_tfm_ctx_offset, crypto_tfm, __crt_ctx);
-
-       BLANK();
        OFFSET(pbe_address, pbe, address);
        OFFSET(pbe_orig_address, pbe, orig_address);
        OFFSET(pbe_next, pbe, next);