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

James A Shackleford shack at linux.com
Mon Jun 23 00:27:57 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 37ec56b..9316eab 100644
--- a/drivers/staging/rtl8712/osdep_service.h
+++ b/drivers/staging/rtl8712/osdep_service.h
@@ -184,11 +184,6 @@ static inline void flush_signals_thread(void)
 		flush_signals(current);
 }
 
-static inline u32 _RND256(u32 sz)
-{
-	return ((sz >> 8) + ((sz & 255) ? 1 : 0)) << 8;
-}
-
 static inline u32 _RND512(u32 sz)
 {
 	return ((sz >> 9) + ((sz & 511) ? 1 : 0)) << 9;
-- 
1.7.9.5



More information about the devel mailing list