From 66a8a1bf98d714e013ee329dc975f3b6b552de6d Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sun, 24 Feb 2019 08:13:39 -0700 Subject: [PATCH] engines/sg: kill dead function This makes clang error out. Fixes: bc596cbcdbb5 ("t/zbd: Add multi-job libaio test") Signed-off-by: Jens Axboe --- engines/sg.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/engines/sg.c b/engines/sg.c index d681ac93..bf437c8d 100644 --- a/engines/sg.c +++ b/engines/sg.c @@ -157,11 +157,6 @@ struct sgio_data { #endif }; -static inline uint16_t sgio_get_be16(uint8_t *buf) -{ - return be16_to_cpu(*((uint16_t *) buf)); -} - static inline uint32_t sgio_get_be32(uint8_t *buf) { return be32_to_cpu(*((uint32_t *) buf)); -- 2.25.1