[PATCH linux-next] scripts/sorttable: remove duplicate include in sorttable.c

From: cgel . zte
Date: Fri Aug 06 2021 - 03:29:27 EST


From: yong yiran <yong.yiran@xxxxxxxxxx>

'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@xxxxxxxxxx>
Signed-off-by: yong yiran <yong.yiran@xxxxxxxxxx>
---
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