]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Remove vma_mas_szero() helper
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 19 Aug 2022 17:40:21 +0000 (13:40 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 19 Aug 2022 17:42:08 +0000 (13:42 -0400)
commitfc53e340546613eedaf132d249fece95da430381
treebf99ec07b357e312802b4377199a1dfae13d78de
parentf20cb098a375e8c64ed279a36cb6ced3dfe79d15
mm/mmap: Remove vma_mas_szero() helper

Remove the helper to zero out a portion of a VMA.  It is only called
from one function and putting the logic in that function allows for a
WARN_ON() to be added to check for a logic error.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
mm/mmap.c