From: James A Shackleford Date: Mon, 23 Jun 2014 00:27:58 +0000 (-0400) Subject: staging: rtl8712: remove unused inline _RND512() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=084e5d285dac1e29ea07c8086322a5f3dd6de11d;p=linux-beck.git staging: rtl8712: remove unused inline _RND512() Signed-off-by: James A Shackleford Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index 9316eabb49b3..425f0f1b8c2f 100644 --- a/drivers/staging/rtl8712/osdep_service.h +++ b/drivers/staging/rtl8712/osdep_service.h @@ -184,10 +184,5 @@ static inline void flush_signals_thread(void) flush_signals(current); } -static inline u32 _RND512(u32 sz) -{ - return ((sz >> 9) + ((sz & 511) ? 1 : 0)) << 9; -} - #endif