Skip to content

Commit

Permalink
scripts/sorttable: remove duplicate include in sorttable.c
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
yong yiran authored and intel-lab-lkp committed Aug 6, 2021
1 parent 18aeb56 commit c9d4c78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/sorttable.c
Expand Up @@ -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)
{
Expand Down

0 comments on commit c9d4c78

Please sign in to comment.