From 5b97b49b1d4909142f315c1df392f63e3bbffc57 Mon Sep 17 00:00:00 2001 From: chrysn Date: Tue, 15 Sep 2020 15:55:05 +0200 Subject: [PATCH] cpu/nrf52: Remove unused static inline USB poweroff The function was never in used, and this is breaking builds using LLVM that treats unused static inlines as an error. --- cpu/nrf52/periph/usbdev.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cpu/nrf52/periph/usbdev.c b/cpu/nrf52/periph/usbdev.c index 86e1ababf1..ec43b6c694 100644 --- a/cpu/nrf52/periph/usbdev.c +++ b/cpu/nrf52/periph/usbdev.c @@ -114,11 +114,6 @@ static inline void poweron(nrfusb_t *usbdev) usbdev->device->ENABLE = USBD_ENABLE_ENABLE_Msk; } -static inline void poweroff(nrfusb_t *usbdev) -{ - usbdev->device->ENABLE = 0x00; -} - static void usb_attach(nrfusb_t *usbdev) { DEBUG("nrfusb: Enabling pull-up\n");