From 169fa2ec94103c8ed22a01df553dfc653e928178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= <joakim.nohlgard@eistec.se> Date: Mon, 21 Mar 2016 07:32:48 +0100 Subject: [PATCH] cpu/lm4f120: remove unused _port_addr function in gpio.c --- cpu/lm4f120/periph/gpio.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cpu/lm4f120/periph/gpio.c b/cpu/lm4f120/periph/gpio.c index 528d0de328..76ded871e2 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); -- GitLab