diff --git a/cpu/lm4f120/periph/gpio.c b/cpu/lm4f120/periph/gpio.c index 528d0de328945e6ae0f0cc5b5ce22b4c698cca57..76ded871e20fcc0e5cc62cac5328c8f1b5358041 100644 --- a/cpu/lm4f120/periph/gpio.c +++ b/cpu/lm4f120/periph/gpio.c @@ -92,14 +92,6 @@ typedef struct { static gpio_state_t gpio_config[NUM_OF_PORT][NUM_OF_PINS]; -static inline uint16_t _port_addr(gpio_t pin) -{ - const uint8_t port_num = _port_num(pin); - const uint32_t port_addr = _port_base[port_num]; - - return port_addr; -} - int gpio_init(gpio_t pin, gpio_mode_t mode) { const uint8_t port_num = _port_num(pin);