• Lee Jones's avatar
    b43: phy_n: Add empty braces around empty statements · 5ae6c8a6
    Lee Jones authored
    Fixes the following W=1 kernel build warning(s):
    
     drivers/net/wireless/broadcom/b43/phy_n.c: In function ‘b43_nphy_workarounds_rev3plus’:
     drivers/net/wireless/broadcom/b43/phy_n.c:3346:3: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
     drivers/net/wireless/broadcom/b43/phy_n.c: In function ‘b43_nphy_spur_workaround’:
     drivers/net/wireless/broadcom/b43/phy_n.c:4608:4: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
     drivers/net/wireless/broadcom/b43/phy_n.c:4641:4: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
     drivers/net/wireless/broadcom/b43/phy_n.c: In function ‘b43_phy_initn’:
     drivers/net/wireless/broadcom/b43/phy_n.c:6170:3: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
     drivers/net/wireless/broadcom/b43/phy_n.c:6215:5: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
    
    Cc: Kalle Valo <kvalo@codeaurora.org>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Jakub Kicinski <kuba@kernel.org>
    Cc: "Alexander A. Klimov" <grandmaster@al2klimov.de>
    Cc: Michael Buesch <m@bues.ch>
    Cc: linux-wireless@vger.kernel.org
    Cc: b43-dev@lists.infradead.org
    Cc: netdev@vger.kernel.org
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    Link: https://lore.kernel.org/r/20200814113933.1903438-31-lee.jones@linaro.org
    5ae6c8a6
phy_n.c 198 KB