mt76x0: remove unused stat_work

Remove unused definition of stat_work delayed_work definition and
related flush/cancel routines

Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Stanislaw Gruszka <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2018-09-12 13:16:24 +02:00
committed by Felix Fietkau
parent 0e92ff636a
commit 8340e19fa8
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -362,8 +362,6 @@ static void mt76x0_mac_stop_hw(struct mt76x0_dev *dev)
void mt76x0_mac_stop(struct mt76x0_dev *dev)
{
mt76x0_mac_stop_hw(dev);
flush_delayed_work(&dev->stat_work);
cancel_delayed_work_sync(&dev->stat_work);
}
static void mt76x0_stop_hardware(struct mt76x0_dev *dev)
-2
View File
@@ -84,8 +84,6 @@ struct mt76x0_dev {
struct delayed_work cal_work;
struct delayed_work mac_work;
struct delayed_work stat_work;
spinlock_t mac_lock;
const u16 *beacon_offsets;