Skip to content

Commit

Permalink
staging: rtl8187se: Delete some innecesary whitespaces
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ana Rey authored and Peter P Waskiewicz Jr committed Mar 17, 2014
1 parent 7c6a49a commit a152ba9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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)
{

Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit a152ba9

Please sign in to comment.