brcmsmac: remove unnecessary return
authorEduardo Abinader <eduardoabinader@gmail.com>
Thu, 7 Nov 2019 16:07:46 +0000 (17:07 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Nov 2019 12:23:22 +0000 (14:23 +0200)
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c

index ff39773333db904fb50bda0b278f82493615afab..3f09d89ba9224a0dd27f570b7a1aa7e6cfa76143 100644 (file)
@@ -7376,9 +7376,7 @@ static void brcms_c_update_beacon_hw(struct brcms_c_info *wlc,
                                     false, true);
                /* mark beacon0 valid */
                bcma_set32(core, D11REGOFFS(maccommand), MCMD_BCN1VLD);
-               return;
        }
-       return;
 }
 
 /*