[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210806072945.636611-1-yong.yiran@zte.com.cn>
Date: Fri, 6 Aug 2021 00:29:45 -0700
From: cgel.zte@...il.com
To: linux-kernel@...r.kernel.org
Cc: yong.yiran@....com.cn, Zeal Robot <zealci@....com.cn>
Subject: [PATCH linux-next] scripts/sorttable: remove duplicate include in sorttable.c
From: yong yiran <yong.yiran@....com.cn>
'sorttable.h' included in 'sorttable.c' is duplicated.
Remove all but the first include of sorttable.h from sorttable.c.
Reported-by: Zeal Robot <zealci@....com.cn>
Signed-off-by: yong yiran <yong.yiran@....com.cn>
---
scripts/sorttable.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/sorttable.c b/scripts/sorttable.c
index 0ef3abfc4a51..cb080c71a66c 100644
--- a/scripts/sorttable.c
+++ b/scripts/sorttable.c
@@ -188,7 +188,6 @@ static inline unsigned int get_secindex(unsigned int shndx,
/* 32 bit and 64 bit are very similar */
#include "sorttable.h"
#define SORTTABLE_64
-#include "sorttable.h"
static int compare_relative_table(const void *a, const void *b)
{
--
2.25.1
Powered by blists - more mailing lists