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:
Larry Finger
2021-08-05 13:37:14 -05:00
committed by Carlos Garcés
parent 4d3d23dd24
commit 34ec238387
17 changed files with 38 additions and 69 deletions

View File

@@ -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;