From: Amitoj Kaur Chawla Date: Wed, 28 Oct 2015 19:08:44 +0000 (+0530) Subject: staging: rtl8712: rtl871x_io: Remove unused function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=657ff36ff5cbf53040bf87952f3b10a999a74ddc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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);