staging: r8188eu: Remove unused get_rxbuf_desc()
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 14 Feb 2014 22:54:09 +0000 (16:54 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Feb 2014 20:35:38 +0000 (12:35 -0800)
Reported-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_recv.h

index 81fdcf568bb9646e6127fe94d79a5a27c8bbaaa6..21596398f1728e20c7aa8e6727c1d733fc66517c 100644 (file)
@@ -406,15 +406,6 @@ static inline u8 *recvframe_pull_tail(struct recv_frame *precvframe, int sz)
        return precvframe->rx_tail;
 }
 
-static inline unsigned char *get_rxbuf_desc(struct recv_frame *precvframe)
-{
-       unsigned char *buf_desc;
-
-       if (precvframe == NULL)
-               return NULL;
-       return buf_desc;
-}
-
 static inline int get_recvframe_len(struct recv_frame *precvframe)
 {
        return precvframe->len;