OSDN Git Service

rtlwifi: rtl8821ae: Place braces around empty if() body
authorLee Jones <lee.jones@linaro.org>
Mon, 2 Nov 2020 11:24:03 +0000 (11:24 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 7 Nov 2020 16:14:48 +0000 (18:14 +0200)
commit398d816a64eb3614c7a7b58291292ce2c756b6a1
tree87da0e571c0fc479a266c3e1954191349d5ef8d9
parent29c6099a38903ee5db7581af0ef4a507eaab3aa9
rtlwifi: rtl8821ae: Place braces around empty if() body

Fixes the following W=1 kernel build warning(s):

 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c: In function ‘_rtl8812ae_phy_get_txpower_limit’:
 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:2453:3: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]

Cc: Ping-Ke Shih <pkshih@realtek.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201102112410.1049272-35-lee.jones@linaro.org
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c