summaryrefslogtreecommitdiffstats
path: root/arch/alpha/lib
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-04-29 14:37:59 -0700
committerakpm <akpm@linux-foundation.org>2022-04-29 14:37:59 -0700
commit6308499b5e99c0c903fde2c605e41d9a86c4be6c (patch)
tree6cbd70b843fa9ff7c6fd6faab90f6e72277622ea /arch/alpha/lib
parente0690479917cbce740eef51fa3de92c69647a5ad (diff)
downloadlinux-stable-6308499b5e99c0c903fde2c605e41d9a86c4be6c.tar.gz
linux-stable-6308499b5e99c0c903fde2c605e41d9a86c4be6c.tar.bz2
linux-stable-6308499b5e99c0c903fde2c605e41d9a86c4be6c.zip
net: unexport csum_and_copy_{from,to}_user
csum_and_copy_from_user and csum_and_copy_to_user are exported by a few architectures, but not actually used in modular code. Drop the exports. Link: https://lkml.kernel.org/r/20220421070440.1282704-1-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Jakub Kicinski <kuba@kernel.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Cc: David Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/alpha/lib')
-rw-r--r--arch/alpha/lib/csum_partial_copy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/alpha/lib/csum_partial_copy.c b/arch/alpha/lib/csum_partial_copy.c
index 1931a04af85a..4d180d96f09e 100644
--- a/arch/alpha/lib/csum_partial_copy.c
+++ b/arch/alpha/lib/csum_partial_copy.c
@@ -353,7 +353,6 @@ csum_and_copy_from_user(const void __user *src, void *dst, int len)
return 0;
return __csum_and_copy(src, dst, len);
}
-EXPORT_SYMBOL(csum_and_copy_from_user);
__wsum
csum_partial_copy_nocheck(const void *src, void *dst, int len)