mm/mm_init.c: remove the useless dma_reserve
authorBaoquan He <bhe@redhat.com>
Mon, 25 Mar 2024 14:56:42 +0000 (22:56 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:56:10 +0000 (20:56 -0700)
commit6600a6b10c3210280e7623b8ba7feac9619cc2cd
tree42cf8feb9bbc68007b987ddb0e3cd1ae126bbcb7
parentfdb022f6e930152ba36fdac7c5caf3ee44306215
mm/mm_init.c: remove the useless dma_reserve

Now nobody calls set_dma_reserve() to set value for dma_reserve, remove
set_dma_reserve(), global variable dma_reserve and the codes using it.

Link: https://lkml.kernel.org/r/20240325145646.1044760-3-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h
mm/mm_init.c