浏览代码

staging: rtl8187se: Delete some innecesary whitespaces

Delete some whitespaces (whitespace before a quoted newline, space
at the start of a line and space before a tabs) as the codingStyle of
the kernel recommends.

Fix checkpatch.pl errors:
WARNING: unnecessary whitespace before a quoted newline
WARNING: please, no spaces at the start of a line
WARNING: please, no space before tabs

Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Ana Rey 11 年之前
父节点
当前提交
a152ba983b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c

+ 3 - 3
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c

@@ -1343,7 +1343,7 @@ static int assoc_rq_parse(struct sk_buff *skb, u8 *dest)
 	if (skb->len < (sizeof(struct ieee80211_assoc_request_frame) -
 		sizeof(struct ieee80211_info_element))) {
 
-		IEEE80211_DEBUG_MGMT("invalid len in auth request:%d \n", skb->len);
+		IEEE80211_DEBUG_MGMT("invalid len in auth request:%d\n", skb->len);
 		return -1;
 	}
 
@@ -1391,7 +1391,7 @@ inline void ieee80211_rx_auth_rq(struct ieee80211_device *ieee,
 		ieee80211_resp_to_auth(ieee, status, dest);
 }
 
- inline void
+inline void
 ieee80211_rx_assoc_rq(struct ieee80211_device *ieee, struct sk_buff *skb)
 {
 
@@ -1603,7 +1603,7 @@ inline int ieee80211_rx_frame_softmac(struct ieee80211_device *ieee,
 						goto associate_complete;
 
 					assoc_resp = (struct ieee80211_assoc_response_frame*)skb->data;
-					info_element = 	&assoc_resp->info_element;
+					info_element = &assoc_resp->info_element;
 					left = skb->len - ((void*)info_element - (void*)assoc_resp);
 
 					while (left >= sizeof(struct ieee80211_info_element_hdr)) {