make x86/mm/dump_pagetables.c:pt_dump_init() static
PATCH 1/1 make x86/mm/dump_pagetables.c:pt_dump_init() static
This patch makes the needlessly global pt_dump_init() static.
Signed-off-by Adrian Bunk <[email protected]>
---ef2be4c3ac52a07d3f423ab3f3c84c4bf43915a3 diff --git a/arch/x86/mm/dump_pagetables.c b/arch/x86/mm/dump_pagetables.c index 6791b83..2c24bea 100644
arch/x86/mm/dump_pagetables.c +1 -1
@@ -324,7 +324,7 @@ static const struct file_operations ptdump_fops = { .release = single_release, }; -int pt_dump_init (void ) +static int pt_dump_init (void ) {struct dentry *pe;
Quoted 3 lines · Adrian Bunk
This patch makes the needlessly global
pt_dump_init()static.Signed-off-by Adrian Bunk <[email protected]>
Acked-by Arjan van de Ven <[email protected]>
thanks