summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAnna Schumaker <anna.schumaker@oracle.com>2025-07-01 17:46:50 +0300
committerAnna Schumaker <anna.schumaker@oracle.com>2025-09-23 20:29:50 +0300
commitcc6ac66f1c0946299b8f192026cff9a320aaad18 (patch)
tree3a56f71afda652d4a00956822ab76fd63f219aa8 /include/linux
parentd57e43b72bf2071caac90da323849c3983a695f0 (diff)
downloadlinux-cc6ac66f1c0946299b8f192026cff9a320aaad18.tar.xz
SUNRPC: Update gssx_accept_sec_context() to use xdr_set_scratch_folio()
This was the last caller of xdr_set_scratch_page(), so I remove this function while I'm at it. Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sunrpc/xdr.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h
index 3ce17321689a..49278749ad0c 100644
--- a/include/linux/sunrpc/xdr.h
+++ b/include/linux/sunrpc/xdr.h
@@ -288,19 +288,6 @@ xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen)
}
/**
- * xdr_set_scratch_page - Attach a scratch buffer for decoding data
- * @xdr: pointer to xdr_stream struct
- * @page: an anonymous page
- *
- * See xdr_set_scratch_buffer().
- */
-static inline void
-xdr_set_scratch_page(struct xdr_stream *xdr, struct page *page)
-{
- xdr_set_scratch_buffer(xdr, page_address(page), PAGE_SIZE);
-}
-
-/**
* xdr_set_scratch_folio - Attach a scratch buffer for decoding data
* @xdr: pointer to xdr_stream struct
* @page: an anonymous folio