From 23395358450b6ff94d09395b2e386dd76841d7ba Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 18 Jul 2026 14:46:52 -0700 Subject: [PATCH] fscrypt: Remove unused function fscrypt_finalize_bounce_page() fscrypt_finalize_bounce_page() is no longer called, so remove it. Reviewed-by: Christoph Hellwig Link: https://patch.msgid.link/20260718214655.63186-4-ebiggers@kernel.org Signed-off-by: Eric Biggers --- include/linux/fscrypt.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/linux/fscrypt.h b/include/linux/fscrypt.h index e9da70ce3e86..28f2108e29f3 100644 --- a/include/linux/fscrypt.h +++ b/include/linux/fscrypt.h @@ -1059,15 +1059,4 @@ static inline int fscrypt_encrypt_symlink(struct inode *inode, return 0; } -/* If *pagep is a bounce page, free it and set *pagep to the pagecache page */ -static inline void fscrypt_finalize_bounce_page(struct page **pagep) -{ - struct page *page = *pagep; - - if (fscrypt_is_bounce_page(page)) { - *pagep = fscrypt_pagecache_page(page); - fscrypt_free_bounce_page(page); - } -} - #endif /* _LINUX_FSCRYPT_H */