Re: [PATCH 3/3] sunrpc: unexport csum_partial_copy_to_xdr

Jeff Layton
2025-05-13T12:16:32Z

On Tue, 2025-05-13 at 10:57 +0200, Christoph Hellwig wrote:
> 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)

Reviewed-by: Jeff Layton <jlayton@kernel.org>