From: Jens Axboe Date: Sun, 24 Feb 2019 15:13:39 +0000 (-0700) Subject: engines/sg: kill dead function X-Git-Tag: fio-3.14~28 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=66a8a1bf98d714e013ee329dc975f3b6b552de6d engines/sg: kill dead function This makes clang error out. Fixes: bc596cbcdbb5 ("t/zbd: Add multi-job libaio test") Signed-off-by: Jens Axboe --- 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));