mt76x0: remove unused mt76x0_mcu structure

Remove no longer used mt76x0_mcu data structure

Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2018-09-11 13:49:19 +02:00
committed by Felix Fietkau
parent 7eca333be3
commit 8fedb79c1c
2 changed files with 0 additions and 17 deletions
-2
View File
@@ -452,8 +452,6 @@ int mt76x0_mcu_init(struct mt76x0_dev *dev)
{
int ret;
mutex_init(&dev->mcu.mutex);
ret = mt76x0_load_firmware(dev);
if (ret)
return ret;
-15
View File
@@ -49,19 +49,6 @@ struct mt76x0_dma_buf {
size_t len;
};
struct mt76x0_mcu {
struct mutex mutex;
u8 msg_seq;
struct mt76x0_dma_buf resp;
struct mt76_reg_pair *reg_pairs;
unsigned int reg_pairs_len;
u32 reg_base;
bool burst_read;
};
struct mac_stats {
u64 rx_stat[6];
u64 tx_stat[6];
@@ -160,8 +147,6 @@ struct mt76x0_dev {
unsigned long wcid_mask[DIV_ROUND_UP(N_WCIDS, BITS_PER_LONG)];
unsigned long vif_mask;
struct mt76x0_mcu mcu;
struct delayed_work cal_work;
struct delayed_work mac_work;