mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
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:
committed by
Greg Kroah-Hartman
parent
1ce39848e1
commit
b49f224d0d
@@ -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(
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user