Commit 589c667d authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: wilc1000: remove unused struct semaphore SemHandleUpdateStats

struct semaphore SemHandleUpdateStats is defined but never used in this
driver, so just remove it.
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c975f9dd
...@@ -2262,7 +2262,6 @@ struct wireless_dev *wilc_create_wiphy(struct net_device *net, struct device *de ...@@ -2262,7 +2262,6 @@ struct wireless_dev *wilc_create_wiphy(struct net_device *net, struct device *de
} }
priv = wdev_priv(wdev); priv = wdev_priv(wdev);
sema_init(&(priv->SemHandleUpdateStats), 1);
priv->wdev = wdev; priv->wdev = wdev;
wdev->wiphy->max_scan_ssids = MAX_NUM_PROBED_SSID; wdev->wiphy->max_scan_ssids = MAX_NUM_PROBED_SSID;
#ifdef CONFIG_PM #ifdef CONFIG_PM
......
...@@ -130,7 +130,6 @@ struct wilc_priv { ...@@ -130,7 +130,6 @@ struct wilc_priv {
struct wilc_wfi_key *wilc_ptk[MAX_NUM_STA]; struct wilc_wfi_key *wilc_ptk[MAX_NUM_STA];
u8 wilc_groupkey; u8 wilc_groupkey;
/* semaphores */ /* semaphores */
struct semaphore SemHandleUpdateStats;
struct semaphore hSemScanReq; struct semaphore hSemScanReq;
/* */ /* */
bool gbAutoRateAdjusted; bool gbAutoRateAdjusted;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment