From: Larry Finger Date: Sat, 8 Apr 2017 16:07:34 +0000 (-0500) Subject: staging: rtl8723bs: Fix indenting problems in core/rtw_xmit.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f195f7d5fdbfb70c6634224dab13eb190d665445;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8723bs: Fix indenting problems in core/rtw_xmit.c Smatch logs the following: CHECK drivers/staging/rtl8723bs/core/rtw_xmit.c drivers/staging/rtl8723bs/core/rtw_xmit.c:277 _rtw_init_xmit_priv() warn: inconsistent indenting drivers/staging/rtl8723bs/core/rtw_xmit.c:294 _rtw_free_xmit_priv() warn: inconsistent indenting drivers/staging/rtl8723bs/core/rtw_xmit.c:295 _rtw_free_xmit_priv() warn: inconsistent indenting drivers/staging/rtl8723bs/core/rtw_xmit.c:946 xmitframe_addmic() warn: inconsistent indenting These are fixed with white-space changes. Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c index 60585540069a..8f2c9a6658bf 100644 --- a/drivers/staging/rtl8723bs/core/rtw_xmit.c +++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c @@ -274,7 +274,7 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) rtw_alloc_hwxmits(padapter); rtw_init_hwxmits(pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); - for (i = 0; i < 4; i++) { + for (i = 0; i < 4; i++) { pxmitpriv->wmm_para_seq[i] = i; } @@ -290,8 +290,8 @@ exit: void _rtw_free_xmit_priv(struct xmit_priv *pxmitpriv) { - int i; - struct adapter *padapter = pxmitpriv->adapter; + int i; + struct adapter *padapter = pxmitpriv->adapter; struct xmit_frame *pxmitframe = (struct xmit_frame *) pxmitpriv->pxmit_frame_buf; struct xmit_buf *pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; @@ -942,8 +942,8 @@ static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitfr } - /* if (pqospriv->qos_option == 1) */ - if (pattrib->qos_en) + /* if (pqospriv->qos_option == 1) */ + if (pattrib->qos_en) priority[0] = (u8)pxmitframe->attrib.priority;