Messages in this thread Patch in this message | | | From | cgel.zte@gmail ... | Subject | [PATCH linux-next] scripts/sorttable: remove duplicate include in sorttable.c | Date | Fri, 6 Aug 2021 00:29:45 -0700 |
| |
From: yong yiran <yong.yiran@zte.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@zte.com.cn> Signed-off-by: yong yiran <yong.yiran@zte.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
| |