From 0de089e2e89277d0b580a705d5a80e07db9b1e0b Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 17 Jun 2022 01:17:33 +0800 Subject: [PATCH] wireless/bcm43xxx: Don't call bcmf_board_setup_oob_irq in bcmf_sdio_thread since oob irq is already setup in bcmf_bus_setup_interrupts, it waste time and energy to do the same thing repeatly in the work thread. Signed-off-by: Xiang Xiao --- drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c index 57bfe29058..c6e9309e1d 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c @@ -953,10 +953,6 @@ int bcmf_sdio_thread(int argc, char **argv) continue; } - /* Re-configure the board GPIO interrupt pin */ - - bcmf_board_setup_oob_irq(sbus->minor, bcmf_oob_irq, (void *)sbus); - /* If we're done for now, turn off clock request. */ #if 0