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:
Greg Kroah-Hartman
2021-07-30 11:24:12 +02:00
committed by Carlos Garcés
parent 1401b54fd0
commit ac1790da7c
3 changed files with 2 additions and 9 deletions

View File

@@ -288,7 +288,6 @@ void _rtw_usb_buffer_free(struct usb_device *dev, size_t size, void *addr, dma_a
#endif /* DBG_MEM_ALLOC */
extern void *rtw_malloc2d(int h, int w, size_t size);
extern void rtw_mfree2d(void *pbuf, int h, int w, int size);
void rtw_os_pkt_free(_pkt *pkt);
_pkt *rtw_os_pkt_copy(_pkt *pkt);