From: Ivan Safonov Date: Thu, 12 Jan 2017 09:16:54 +0000 (+0300) Subject: staging:r8188eu: remove unused get_rxmem() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a8ee720f1966210125ec111512e777cfbcb699ef;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging:r8188eu: remove unused get_rxmem() get_rxmem() is not unused, remove it. Signed-off-by: Ivan Safonov 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 e3ab51150790..74e3a1c11818 100644 --- a/drivers/staging/rtl8188eu/include/rtw_recv.h +++ b/drivers/staging/rtl8188eu/include/rtw_recv.h @@ -254,14 +254,6 @@ u32 rtw_free_uc_swdec_pending_queue(struct adapter *adapter); void rtw_reordering_ctrl_timeout_handler(unsigned long data); -static inline u8 *get_rxmem(struct recv_frame *precvframe) -{ - /* always return rx_head... */ - if (precvframe == NULL) - return NULL; - return precvframe->rx_head; -} - static inline u8 *recvframe_pull(struct recv_frame *precvframe, int sz) { /* rx_data += sz; move rx_data sz bytes hereafter */