[PATCH] crash_dump: remove duplicate include in crash_dump.h

From: menglong8 . dong
Date: Sat Mar 13 2021 - 05:38:57 EST


From: Zhang Yunkai <zhang.yunkai@xxxxxxxxxx>

'linux/pgtable.h' included in 'crash_dump.h' is duplicated.
It is also included in the 8th line.

Signed-off-by: Zhang Yunkai <zhang.yunkai@xxxxxxxxxx>
---
include/linux/crash_dump.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h
index a5192b718dbe..6bd8a33cb740 100644
--- a/include/linux/crash_dump.h
+++ b/include/linux/crash_dump.h
@@ -8,8 +8,6 @@
#include <linux/pgtable.h>
#include <uapi/linux/vmcore.h>

-#include <linux/pgtable.h> /* for pgprot_t */
-
#ifdef CONFIG_CRASH_DUMP
#define ELFCORE_ADDR_MAX (-1ULL)
#define ELFCORE_ADDR_ERR (-2ULL)
--
2.25.1