Staging: rtl8188eu: core: Fix line over 80 characters
PATCH 1/1 Staging: rtl8188eu: core: Fix line over 80 characters
Fix checkpatch.pl issues with line over
80 characters in rtw_iol.c
--- drivers/staging/rtl8188eu/core/rtw_iol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtl8188eu/core/rtw_iol.c +2 -1
@@ -25,7 +25,8 @@ bool rtw_IOL_applied(struct adapter *adapter)if (1 == adapter->registrypriv.fw_iol)return true; -if ((2 == adapter->registrypriv.fw_iol) && (!adapter_to_dvobj (adapter)->ishighspeed)) +if ((2 == adapter->registrypriv.fw_iol) && + (!adapter_to_dvobj (adapter)->ishighspeed))return true;return false; }
Signature · 1 line
1.9.1
Quoted 13 lines · Hatice ERTÜRK
Fix checkpatch.pl issues with line over
80 characters inrtw_iol.cSigned-off-by Hatice ERTURK <[email protected]>--- drivers/staging/rtl8188eu/core/rtw_iol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/staging/rtl8188eu/core/rtw_iol.c +0
-0
drivers/staging/rtl8188eu/core/rtw_iol.c bool rtw_IOL_applied(struct adapter *adapter) · line 29
Quoted 6 lines
drivers/staging/rtl8188eu/core/rtw_iol.c +2
-1@@ -25,7 +25,8 @@ bool rtw_IOL_applied(struct adapter *adapter)if (1 == adapter->registrypriv.fw_iol)return true; -if ((2 == adapter->registrypriv.fw_iol) && (!adapter_to_dvobj (adapter)->ishighspeed)) +if ((2 == adapter->registrypriv.fw_iol) && + (!adapter_to_dvobj (adapter)->ishighspeed))
The choice of indentation distance seems random. It would be nicer to line up the conditions.
In neither case are the parentheses needed.
julia
Quoted 13 lines
drivers/staging/rtl8188eu/core/rtw_iol.c +0
-1return true;return false; } --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1424526541-15280-1-git-send-email-haticeerturk27%40gmail.com.
For more options, visit https://groups.google.com/d/optout.