diff --git a/core/efuse/rtw_efuse.c b/core/efuse/rtw_efuse.c index b7c02d4..02ea7dc 100644 --- a/core/efuse/rtw_efuse.c +++ b/core/efuse/rtw_efuse.c @@ -3042,7 +3042,6 @@ int storeAdaptorInfoFile(char *path, u8 *efuse_data) int retriveAdaptorInfoFile(char *path, u8 *efuse_data) { int ret = _SUCCESS; - mm_segment_t oldfs; struct file *fp; if (path && efuse_data) { diff --git a/core/rtw_ieee80211.c b/core/rtw_ieee80211.c index 2134a34..8e5caf6 100644 --- a/core/rtw_ieee80211.c +++ b/core/rtw_ieee80211.c @@ -1496,7 +1496,6 @@ int rtw_get_mac_addr_intel(unsigned char *buf) int ret = 0; int i; struct file *fp = NULL; - mm_segment_t oldfs; unsigned char c_mac[MAC_ADDRESS_LEN]; char fname[] = "/config/wifi/mac.txt"; int jj, kk;