staging: rtl8188eu: Remove rtw_mfree2d(), wrapper for kfree()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
navin patidar
2014-06-22 13:49:29 +05:30
committed by Greg Kroah-Hartman
parent 1ce39848e1
commit b49f224d0d
3 changed files with 1 additions and 7 deletions

View File

@@ -213,7 +213,7 @@ efuse_phymap_to_logical(u8 *phymap, u16 _offset, u16 _size_byte, u8 *pbuf)
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(

View 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);

View 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);