From: Larry Finger Date: Fri, 14 Feb 2014 22:54:09 +0000 (-0600) Subject: staging: r8188eu: Remove unused get_rxbuf_desc() X-Git-Tag: next-20140306~21^2~334 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c1f7d570762df1dba1f8df5e1f12ae67726b5796;p=karo-tx-linux.git staging: r8188eu: Remove unused get_rxbuf_desc() Reported-by: Jes Sorensen Signed-off-by: Larry Finger Cc: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/include/rtw_recv.h b/drivers/staging/rtl8188eu/include/rtw_recv.h index 81fdcf568bb9..21596398f172 100644 --- a/drivers/staging/rtl8188eu/include/rtw_recv.h +++ b/drivers/staging/rtl8188eu/include/rtw_recv.h @@ -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;