mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Remove wrapper around vfree
This call is so simple that there is no need, or use, for a wrapper. Link: https://lore.kernel.org/r/20210805183717.23007-3-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
4d3d23dd24
commit
34ec238387
@@ -1178,7 +1178,7 @@ void rtw_txpwr_lmt_list_free(struct rf_ctl_t *rfctl)
|
||||
if (ent->regd_name == rfctl->regd_name)
|
||||
rfctl->regd_name = regd_str(TXPWR_LMT_NONE);
|
||||
rtw_list_delete(&ent->list);
|
||||
rtw_vmfree((u8 *)ent, sizeof(struct txpwr_lmt_ent) + strlen(ent->regd_name) + 1);
|
||||
vfree(ent);
|
||||
}
|
||||
rfctl->txpwr_regd_num = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user