mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
remove rtw_mfree2d() function
It is just a wrapper around kfree(), so remove it and just call kfree() instead. Adaptation of: https://lore.kernel.org/r/20210730092417.1014392-7-gregkh@linuxfoundation.org
This commit is contained in:
committed by
Carlos Garcés
parent
1401b54fd0
commit
ac1790da7c
@@ -873,11 +873,6 @@ void *rtw_malloc2d(int h, int w, size_t size)
|
||||
return a;
|
||||
}
|
||||
|
||||
void rtw_mfree2d(void *pbuf, int h, int w, int size)
|
||||
{
|
||||
rtw_mfree((u8 *)pbuf, h * sizeof(void *) + w * h * size);
|
||||
}
|
||||
|
||||
inline void rtw_os_pkt_free(_pkt *pkt)
|
||||
{
|
||||
#if defined(PLATFORM_LINUX)
|
||||
|
||||
Reference in New Issue
Block a user