diff --git a/chip/npcx/gpio.c b/chip/npcx/gpio.c index 8327a22c08..f0beddbfc0 100644 --- a/chip/npcx/gpio.c +++ b/chip/npcx/gpio.c @@ -744,11 +744,7 @@ DECLARE_HOOK(HOOK_INIT, gpio_init, HOOK_PRIO_DEFAULT); static void gpio_interrupt(int int_no) { -#if DEBUG_GPIO - static uint8_t i, j, pin, wui_mask; -#else uint8_t i, j, pin, wui_mask; -#endif for (i = 0; i < ARRAY_SIZE(gpio_wui_table); i++) { for (j = 0; j < ARRAY_SIZE(gpio_wui_table[0]); j++) { diff --git a/chip/npcx/registers.h b/chip/npcx/registers.h index 34188f58e9..50b36227b3 100644 --- a/chip/npcx/registers.h +++ b/chip/npcx/registers.h @@ -54,7 +54,6 @@ #define DEBUG_I2C 0 #define DEBUG_TMR 0 #define DEBUG_WDG 0 -#define DEBUG_GPIO 1 #define DEBUG_FAN 0 #define DEBUG_PWM 0 #define DEBUG_SPI 0