Skip to content

Commit

Permalink
stress-opcode: clean up unused macro warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Ian King <[email protected]>
  • Loading branch information
ColinIanKing committed Jun 6, 2022
1 parent d543b1c commit ecc3215
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stress-opcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ static const stress_help_t help[] = {

#define PAGES (16)
#define TRACK_SIGCOUNT (0)
#define EXIT_TRAPPED (255)

typedef void(*stress_opcode_func)(uint8_t *ops_begin, const uint8_t *ops_end, uint32_t *op);

Expand Down Expand Up @@ -118,6 +117,7 @@ static struct sock_fprog prog = {

#endif

#if TRACK_SIGCOUNT
#if defined(NSIG)
#define MAX_SIGS (NSIG)
#elif defined(_NSIG)
Expand All @@ -126,7 +126,6 @@ static struct sock_fprog prog = {
#define MAX_SIGS (256)
#endif

#if TRACK_SIGCOUNT
static uint64_t *sig_count;
#endif

Expand Down

0 comments on commit ecc3215

Please sign in to comment.