From 26c01accb96f8f6ca68cda7f7ae53177fb3221fd Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 20 Mar 2019 16:47:39 +1100 Subject: [PATCH] AP_HAL_SITL: remove unused from method --- libraries/AP_HAL_SITL/UARTDriver.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/AP_HAL_SITL/UARTDriver.h b/libraries/AP_HAL_SITL/UARTDriver.h index 2083c675f8..825bd6cbf7 100644 --- a/libraries/AP_HAL_SITL/UARTDriver.h +++ b/libraries/AP_HAL_SITL/UARTDriver.h @@ -22,10 +22,6 @@ public: _listen_fd = -1; } - static UARTDriver *from(AP_HAL::UARTDriver *uart) { - return static_cast(uart); - } - /* Implementations of UARTDriver virtual methods */ void begin(uint32_t b) override { begin(b, 0, 0);