From 93e7ee5103ba4a5654ea1f442efa00e848b04b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=A9s?= Date: Wed, 6 Apr 2022 14:14:57 +0200 Subject: [PATCH] Remove unsused mm_segment_t structures --- core/efuse/rtw_efuse.c | 1 - core/rtw_ieee80211.c | 1 - 2 files changed, 2 deletions(-) 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;