[PATCH 4/4] staging: rtl8712: remove unused inline _RND512()

James A Shackleford shack at linux.com
Mon Jun 23 00:27:58 UTC 2014


Signed-off-by: James A Shackleford <shack at linux.com>
---
 drivers/staging/rtl8712/osdep_service.h |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h
index 9316eab..425f0f1 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
 
-- 
1.7.9.5



More information about the devel mailing list