aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2015-10-28 15:08:44 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-28 18:55:17 -0400
commit657ff36ff5cbf53040bf87952f3b10a999a74ddc (patch)
treef7e76443a576149e09d3469181db6f72336901a6
parentf386ee173773eac13eaa8d10992ca970a63c1e9d (diff)
staging: rtl8712: rtl871x_io: Remove unused function
Drop function that is declared but not called anywhere. Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8712/rtl871x_io.h8
1 files changed, 0 insertions, 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 {
232 struct intf_hdl intf; 232 struct intf_hdl intf;
233}; 233};
234 234
235static inline u32 _RND4(u32 sz)
236{
237 u32 val;
238
239 val = ((sz >> 2) + ((sz & 3) ? 1 : 0)) << 2;
240 return val;
241}
242
243u8 r8712_read8(struct _adapter *adapter, u32 addr); 235u8 r8712_read8(struct _adapter *adapter, u32 addr);
244u16 r8712_read16(struct _adapter *adapter, u32 addr); 236u16 r8712_read16(struct _adapter *adapter, u32 addr);
245u32 r8712_read32(struct _adapter *adapter, u32 addr); 237u32 r8712_read32(struct _adapter *adapter, u32 addr);