Commit b49f224d authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman
Browse files

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

parent 1ce39848
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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(
+0 −1
Original line number Diff line number Diff line
@@ -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);

+0 −5
Original line number Diff line number Diff line
@@ -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);