[PATCH 3/3] sunrpc: unexport csum_partial_copy_to_xdr

Christoph Hellwig
2025-05-13T08:57:57Z

csum_partial_copy_to_xdr is only used inside the sunrpc module, so
remove the export.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
net/sunrpc/socklib.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/net/sunrpc/socklib.c b/net/sunrpc/socklib.c
index 7196e7042e0f..68b16f2ba686 100644
--- a/net/sunrpc/socklib.c
+++ b/net/sunrpc/socklib.c
@@ -158,7 +158,6 @@ int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb)
return -1;
return 0;
}
-EXPORT_SYMBOL_GPL(csum_partial_copy_to_xdr);

static inline int xprt_sendmsg(struct socket *sock, struct msghdr *msg,
size_t seek)
--
2.47.2