[PATCH 7/7] staging: rtl8188eu: core : remove space before tabs

2015-02-10 Thread Pushpendra Singh
remove below checkpatch.pl warning
WARNING: please, no space before tabs

Signed-off-by: Pushpendra Singh 
---
 drivers/staging/rtl8188eu/core/rtw_xmit.c | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c 
b/drivers/staging/rtl8188eu/core/rtw_xmit.c
index 227498c..1559cb7 100644
--- a/drivers/staging/rtl8188eu/core/rtw_xmit.c
+++ b/drivers/staging/rtl8188eu/core/rtw_xmit.c
@@ -94,7 +94,7 @@ s32   _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct 
adapter *padapter)
}
pxmitpriv->pxmit_frame_buf = (u8 
*)N_BYTE_ALIGMENT((size_t)(pxmitpriv->pallocated_frame_buf), 4);
/* pxmitpriv->pxmit_frame_buf = pxmitpriv->pallocated_frame_buf + 4 - */
-   /*  ((size_t) 
(pxmitpriv->pallocated_frame_buf) &3); */
+   /* ((size_t) (pxmitpriv->pallocated_frame_buf) &3); */
 
pxframe = (struct xmit_frame *)pxmitpriv->pxmit_frame_buf;
 
@@ -132,7 +132,7 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct 
adapter *padapter)
 
pxmitpriv->pxmitbuf = (u8 
*)N_BYTE_ALIGMENT((size_t)(pxmitpriv->pallocated_xmitbuf), 4);
/* pxmitpriv->pxmitbuf = pxmitpriv->pallocated_xmitbuf + 4 - */
-   /*  ((size_t) 
(pxmitpriv->pallocated_xmitbuf) &3); */
+   /* ((size_t) (pxmitpriv->pallocated_xmitbuf) &3); */
 
pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf;
 
@@ -281,8 +281,8 @@ static void update_attrib_vcs_info(struct adapter 
*padapter, struct xmit_frame *
 
/*  (1) RTS_Threshold is compared to the MPDU, not MSDU. */
/*  (2) If there are more than one frag in  this MSDU, only the first 
frag uses protection frame. */
-   /*  Other fragments are protected by previous fragment. */
-   /*  So we only need to check the length of first fragment. 
*/
+   /*  Other fragments are protected by previous fragment. */
+   /*  So we only need to check the length of first fragment. */
if (pmlmeext->cur_wireless_mode < WIRELESS_11_24N  || 
padapter->registrypriv.wifi_spec) {
if (sz > padapter->registrypriv.rts_thresh) {
pattrib->vcs_mode = RTS_CTS;
@@ -412,7 +412,7 @@ static void set_qos(struct pkt_file *ppktfile, struct 
pkt_attrib *pattrib)
/*  get user_prio from IP hdr */
if (pattrib->ether_type == 0x0800) {
_rtw_pktfile_read(ppktfile, (u8 *)_hdr, sizeof(ip_hdr));
-/* user_prio = (ntohs(ip_hdr.tos) >> 5) & 0x3; */
+   /* user_prio = (ntohs(ip_hdr.tos) >> 5) & 0x3; */
user_prio = ip_hdr.tos >> 5;
} else if (pattrib->ether_type == 0x888e) {
/*  "When priority processing of data frames is supported, */
@@ -1466,7 +1466,7 @@ s32 rtw_xmitframe_enqueue(struct adapter *padapter, 
struct xmit_frame *pxmitfram
if (rtw_xmit_classifier(padapter, pxmitframe) == _FAIL) {
RT_TRACE(_module_rtl871x_xmit_c_, _drv_err_,
 ("rtw_xmitframe_enqueue: drop xmit pkt for classifier 
fail\n"));
-/* pxmitframe->pkt = NULL; */
+   /* pxmitframe->pkt = NULL; */
return _FAIL;
}
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 7/7] staging: rtl8188eu: core : remove space before tabs

2015-02-10 Thread Pushpendra Singh
remove below checkpatch.pl warning
WARNING: please, no space before tabs

Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com
---
 drivers/staging/rtl8188eu/core/rtw_xmit.c | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c 
b/drivers/staging/rtl8188eu/core/rtw_xmit.c
index 227498c..1559cb7 100644
--- a/drivers/staging/rtl8188eu/core/rtw_xmit.c
+++ b/drivers/staging/rtl8188eu/core/rtw_xmit.c
@@ -94,7 +94,7 @@ s32   _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct 
adapter *padapter)
}
pxmitpriv-pxmit_frame_buf = (u8 
*)N_BYTE_ALIGMENT((size_t)(pxmitpriv-pallocated_frame_buf), 4);
/* pxmitpriv-pxmit_frame_buf = pxmitpriv-pallocated_frame_buf + 4 - */
-   /*  ((size_t) 
(pxmitpriv-pallocated_frame_buf) 3); */
+   /* ((size_t) (pxmitpriv-pallocated_frame_buf) 3); */
 
pxframe = (struct xmit_frame *)pxmitpriv-pxmit_frame_buf;
 
@@ -132,7 +132,7 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct 
adapter *padapter)
 
pxmitpriv-pxmitbuf = (u8 
*)N_BYTE_ALIGMENT((size_t)(pxmitpriv-pallocated_xmitbuf), 4);
/* pxmitpriv-pxmitbuf = pxmitpriv-pallocated_xmitbuf + 4 - */
-   /*  ((size_t) 
(pxmitpriv-pallocated_xmitbuf) 3); */
+   /* ((size_t) (pxmitpriv-pallocated_xmitbuf) 3); */
 
pxmitbuf = (struct xmit_buf *)pxmitpriv-pxmitbuf;
 
@@ -281,8 +281,8 @@ static void update_attrib_vcs_info(struct adapter 
*padapter, struct xmit_frame *
 
/*  (1) RTS_Threshold is compared to the MPDU, not MSDU. */
/*  (2) If there are more than one frag in  this MSDU, only the first 
frag uses protection frame. */
-   /*  Other fragments are protected by previous fragment. */
-   /*  So we only need to check the length of first fragment. 
*/
+   /*  Other fragments are protected by previous fragment. */
+   /*  So we only need to check the length of first fragment. */
if (pmlmeext-cur_wireless_mode  WIRELESS_11_24N  || 
padapter-registrypriv.wifi_spec) {
if (sz  padapter-registrypriv.rts_thresh) {
pattrib-vcs_mode = RTS_CTS;
@@ -412,7 +412,7 @@ static void set_qos(struct pkt_file *ppktfile, struct 
pkt_attrib *pattrib)
/*  get user_prio from IP hdr */
if (pattrib-ether_type == 0x0800) {
_rtw_pktfile_read(ppktfile, (u8 *)ip_hdr, sizeof(ip_hdr));
-/* user_prio = (ntohs(ip_hdr.tos)  5)  0x3; */
+   /* user_prio = (ntohs(ip_hdr.tos)  5)  0x3; */
user_prio = ip_hdr.tos  5;
} else if (pattrib-ether_type == 0x888e) {
/*  When priority processing of data frames is supported, */
@@ -1466,7 +1466,7 @@ s32 rtw_xmitframe_enqueue(struct adapter *padapter, 
struct xmit_frame *pxmitfram
if (rtw_xmit_classifier(padapter, pxmitframe) == _FAIL) {
RT_TRACE(_module_rtl871x_xmit_c_, _drv_err_,
 (rtw_xmitframe_enqueue: drop xmit pkt for classifier 
fail\n));
-/* pxmitframe-pkt = NULL; */
+   /* pxmitframe-pkt = NULL; */
return _FAIL;
}
 
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/