summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/include
diff options
context:
space:
mode:
authorBhaskar Singh <bhaskar.kernel@gmail.com>2018-08-21 06:32:22 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-27 19:29:39 +0200
commit22d8eeb32abcf4323757e6044497a2fdd560c0af (patch)
tree7651dd8c96f00f9d57e8bed4a56e4e685eb4b498 /drivers/staging/rtl8188eu/include
parent6c352cfd12f40e95635e8f6b6be53f1f958e7f86 (diff)
staging: rtl8188eu: Removed a function and coded inline
This patch removed function named rtw_malloc2d. I removed this function because this function is used exactly once and function call have some overhead also. Maybe this will improve code runtime slightly. Signed-off-by: Bhaskar Singh <bhaskar.kernel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/include')
-rw-r--r--drivers/staging/rtl8188eu/include/osdep_service.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h b/drivers/staging/rtl8188eu/include/osdep_service.h
index fbcba79a0927..cfe5698fbbb1 100644
--- a/drivers/staging/rtl8188eu/include/osdep_service.h
+++ b/drivers/staging/rtl8188eu/include/osdep_service.h
@@ -64,8 +64,6 @@ static inline int rtw_netif_queue_stopped(struct net_device *pnetdev)
u8 *_rtw_malloc(u32 sz);
#define rtw_malloc(sz) _rtw_malloc((sz))
-void *rtw_malloc2d(int h, int w, int size);
-
void _rtw_init_queue(struct __queue *pqueue);
struct rtw_netdev_priv_indicator {