diff options
| author | Marcelo Aloisio da Silva <marcelo.as@aol.com> | 2022-02-20 15:04:34 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-21 18:12:02 +0100 |
| commit | 1a461527f6bc4b0e29b4badb64b7d1f1fc9437ae (patch) | |
| tree | 4bc5b2416e261aced1fe1d085ff6633b9ae45e70 | |
| parent | 98e8e0c3115da2ce76c9523ebab4b235309c26bd (diff) | |
| download | linux-1a461527f6bc4b0e29b4badb64b7d1f1fc9437ae.tar.gz linux-1a461527f6bc4b0e29b4badb64b7d1f1fc9437ae.zip | |
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 <marcelo.as@aol.com>
Link: https://lore.kernel.org/r/20220220180434.GA12386@snoopy
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/r8188eu/core/rtw_mlme.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_mlme.c b/drivers/staging/r8188eu/core/rtw_mlme.c index 45eff3018d73..3abc7e21bc0d 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); } |
