ath10k: sdio: remove unused struct member
irq_wq in struct ath10k_sdio is a remnant from an earlier version of the sdio patchset. Its use was removed as a result of Kalle's review, but somehow the struct member survived. It is not used and can therefore safely be removed. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
c9353bf483
commit
30b83fff6d
@ -1344,8 +1344,6 @@ static void ath10k_sdio_irq_handler(struct sdio_func *func)
|
|||||||
|
|
||||||
sdio_claim_host(ar_sdio->func);
|
sdio_claim_host(ar_sdio->func);
|
||||||
|
|
||||||
wake_up(&ar_sdio->irq_wq);
|
|
||||||
|
|
||||||
if (ret && ret != -ECANCELED)
|
if (ret && ret != -ECANCELED)
|
||||||
ath10k_warn(ar, "failed to process pending SDIO interrupts: %d\n",
|
ath10k_warn(ar, "failed to process pending SDIO interrupts: %d\n",
|
||||||
ret);
|
ret);
|
||||||
@ -2000,8 +1998,6 @@ static int ath10k_sdio_probe(struct sdio_func *func,
|
|||||||
goto err_free_bmi_buf;
|
goto err_free_bmi_buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
init_waitqueue_head(&ar_sdio->irq_wq);
|
|
||||||
|
|
||||||
for (i = 0; i < ATH10K_SDIO_BUS_REQUEST_MAX_NUM; i++)
|
for (i = 0; i < ATH10K_SDIO_BUS_REQUEST_MAX_NUM; i++)
|
||||||
ath10k_sdio_free_bus_req(ar, &ar_sdio->bus_req[i]);
|
ath10k_sdio_free_bus_req(ar, &ar_sdio->bus_req[i]);
|
||||||
|
|
||||||
|
@ -210,8 +210,6 @@ struct ath10k_sdio {
|
|||||||
/* temporary buffer for BMI requests */
|
/* temporary buffer for BMI requests */
|
||||||
u8 *bmi_buf;
|
u8 *bmi_buf;
|
||||||
|
|
||||||
wait_queue_head_t irq_wq;
|
|
||||||
|
|
||||||
bool is_disabled;
|
bool is_disabled;
|
||||||
|
|
||||||
struct workqueue_struct *workqueue;
|
struct workqueue_struct *workqueue;
|
||||||
|
Loading…
Reference in New Issue
Block a user