[PATCH v5 03/15] mm/vma: remove unused function, make internal functions static
Jason Gunthorpe
jgg at nvidia.com
Mon Oct 20 07:08:17 PDT 2025
On Mon, Oct 20, 2025 at 01:11:20PM +0100, Lorenzo Stoakes wrote:
> unlink_file_vma() is not used by anything, so remove it.
>
> vma_link() and vma_link_file() are only used within mm/vma.c, so make them
> static.
>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
> ---
> mm/vma.c | 21 ++-------------------
> mm/vma.h | 6 ------
> 2 files changed, 2 insertions(+), 25 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the kexec
mailing list