diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2024-11-07 09:02:59 +0800 |
---|---|---|
committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2024-11-27 10:38:17 +0530 |
commit | e4a4565489622b29cc4208d117828596207ee6f6 (patch) | |
tree | 3f7cc1e299c6537ce3a06d8c65d79d85bbdfbe01 /arch/powerpc/platforms | |
parent | 42d9e8b7ccddee75989283cf7477305cfe3776ff (diff) | |
download | lwn-e4a4565489622b29cc4208d117828596207ee6f6.tar.gz lwn-e4a4565489622b29cc4208d117828596207ee6f6.zip |
powerpc/machdep: Remove duplicated include in svm.c
The header files linux/mem_encrypt.h is included twice in svm.c,
so one inclusion of each can be removed.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11750
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20241107010259.46308-1-yang.lee@linux.alibaba.com
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/pseries/svm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/svm.c b/arch/powerpc/platforms/pseries/svm.c index c5d0f92c7969..384c9dc1899a 100644 --- a/arch/powerpc/platforms/pseries/svm.c +++ b/arch/powerpc/platforms/pseries/svm.c @@ -10,7 +10,6 @@ #include <linux/memblock.h> #include <linux/mem_encrypt.h> #include <linux/cc_platform.h> -#include <linux/mem_encrypt.h> #include <asm/machdep.h> #include <asm/svm.h> #include <asm/swiotlb.h> |