From 657ff36ff5cbf53040bf87952f3b10a999a74ddc Mon Sep 17 00:00:00 2001 From: Amitoj Kaur Chawla Date: Thu, 29 Oct 2015 00:38:44 +0530 Subject: staging: rtl8712: rtl871x_io: Remove unused function Drop function that is declared but not called anywhere. Signed-off-by: Amitoj Kaur Chawla Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8712/rtl871x_io.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_io.h b/drivers/staging/rtl8712/rtl871x_io.h index 070cc03ce374..26dd24cddd38 100644 --- a/drivers/staging/rtl8712/rtl871x_io.h +++ b/drivers/staging/rtl8712/rtl871x_io.h @@ -232,14 +232,6 @@ struct io_queue { struct intf_hdl intf; }; -static inline u32 _RND4(u32 sz) -{ - u32 val; - - val = ((sz >> 2) + ((sz & 3) ? 1 : 0)) << 2; - return val; -} - u8 r8712_read8(struct _adapter *adapter, u32 addr); u16 r8712_read16(struct _adapter *adapter, u32 addr); u32 r8712_read32(struct _adapter *adapter, u32 addr); -- cgit v1.2.3