From 3331785f3c1e46198f79651dfd10122137eaaf7b Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Sat, 16 Oct 2021 20:13:41 +0200 Subject: staging: r8188eu: res_to_status is unused The function res_to_status is not used. Remove it. Acked-by: Fabio M. De Francesco Acked-by: Michael Straube Signed-off-by: Martin Kaiser Link: https://lore.kernel.org/r/20211016181343.3686-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman --- drivers/staging/r8188eu/include/osdep_service.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/staging/r8188eu') diff --git a/drivers/staging/r8188eu/include/osdep_service.h b/drivers/staging/r8188eu/include/osdep_service.h index 4622ce400e41..d148137adf39 100644 --- a/drivers/staging/r8188eu/include/osdep_service.h +++ b/drivers/staging/r8188eu/include/osdep_service.h @@ -174,11 +174,6 @@ static inline void flush_signals_thread(void) flush_signals(current); } -static inline int res_to_status(int res) -{ - return res; -} - #define _RND(sz, r) ((((sz)+((r)-1))/(r))*(r)) #define RND4(x) (((x >> 2) + (((x & 3) == 0) ? 0: 1)) << 2) -- cgit v1.2.3-59-g8ed1b