]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8712: rtl871x_io: Remove unused function
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 28 Oct 2015 19:08:44 +0000 (00:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Oct 2015 22:55:17 +0000 (07:55 +0900)
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>
drivers/staging/rtl8712/rtl871x_io.h

index 070cc03ce3746b6bdf65c69089619d7082710ea5..26dd24cddd3856f78b4c39901e50f08a08dbaf2b 100644 (file)
@@ -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);