From: Marcelo Aloisio da Silva Date: Sun, 20 Feb 2022 18:04:34 +0000 (-0300) Subject: staging: r8188eu: move open brace to the previous line X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1a461527f6bc4b0e29b4badb64b7d1f1fc9437ae;p=linux.git staging: r8188eu: move open brace to the previous line Fix the following error reported by checkpatch.pl: ERROR: that open brace { should be on the previous line + if (rtw_p2p_chk_state(pwdinfo, P2P_STATE_NONE)) + { Signed-off-by: Marcelo Aloisio da Silva Link: https://lore.kernel.org/r/20220220180434.GA12386@snoopy Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/core/rtw_mlme.c b/drivers/staging/r8188eu/core/rtw_mlme.c index 45eff3018d738..3abc7e21bc0d7 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme.c +++ b/drivers/staging/r8188eu/core/rtw_mlme.c @@ -1378,8 +1378,7 @@ void rtw_dynamic_check_timer_handlder(struct adapter *adapter) if (pregistrypriv->wifi_spec == 1) { struct wifidirect_info *pwdinfo = &adapter->wdinfo; - if (rtw_p2p_chk_state(pwdinfo, P2P_STATE_NONE)) - { + if (rtw_p2p_chk_state(pwdinfo, P2P_STATE_NONE)) { /* auto site survey */ rtw_auto_scan_handler(adapter); }