staging: rtl8188eu: Remove rtw_mfree2d(), wrapper for kfree()
authornavin patidar <navin.patidar@gmail.com>
Sun, 22 Jun 2014 08:19:29 +0000 (13:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:27:12 +0000 (20:27 -0400)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_efuse.c
drivers/staging/rtl8188eu/include/osdep_service.h
drivers/staging/rtl8188eu/os_dep/osdep_service.c

index d18bdda673d3ff8ad13fa672f59d7d90be247192..baaf2761139214ee927bd08bc2aa15db35e5fbcd 100644 (file)
@@ -213,7 +213,7 @@ exit:
        kfree(efuseTbl);
 
        if (eFuseWord)
-               rtw_mfree2d((void *)eFuseWord, EFUSE_MAX_SECTION_88E, EFUSE_MAX_WORD_UNIT, sizeof(u16));
+               kfree(eFuseWord);
 }
 
 static void efuse_read_phymap_from_txpktbuf(
index 2cd9e2620a01946e39129351005e4fa98ffbe100..e5bfdd71f01537103998ff1ed9aff09d797bdce2 100644 (file)
@@ -196,7 +196,6 @@ void _rtw_mfree(u8 *pbuf, u32 sz);
 #define rtw_mfree(pbuf, sz)            _rtw_mfree((pbuf), (sz))
 
 void *rtw_malloc2d(int h, int w, int size);
-void rtw_mfree2d(void *pbuf, int h, int w, int size);
 
 void _rtw_memcpy(void *dec, void *sour, u32 sz);
 
index 02144a4f36f362fbf3af11aa9dcbb32db439de0b..92203c3359f6bcceba2a2847e4b2d5a0665035a5 100644 (file)
@@ -89,11 +89,6 @@ void *rtw_malloc2d(int h, int w, int size)
        return a;
 }
 
-void rtw_mfree2d(void *pbuf, int h, int w, int size)
-{
-       kfree(pbuf);
-}
-
 void _rtw_init_listhead(struct list_head *list)
 {
        INIT_LIST_HEAD(list);
This page took 0.026781 seconds and 5 git commands to generate.