From: Ana Rey Date: Sun, 16 Mar 2014 19:44:34 +0000 (+0100) Subject: staging: rtl8187se: Delete spaces prohibited around semicolons, colons and exclamations X-Git-Tag: v3.15-rc1~139^2~344 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=da0c7624772e7e977fd8c96bc22f98e25b261133;p=karo-tx-linux.git staging: rtl8187se: Delete spaces prohibited around semicolons, colons and exclamations Delete spaces prohibited before semicolon, before ':' and after '!' and fix coding style in these lines when It is necessary. Fix checkpàtch.pl error and warning messages: WARNING: space prohibited before semicolon ERROR: space prohibited before that ':' ERROR: space prohibited after that '!' Signed-off-by: Ana Rey Signed-off-by: Peter P Waskiewicz Jr --- diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c index 99ef0bee9fc4..d9d941059bfa 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c @@ -1032,7 +1032,7 @@ static void ieee80211_associate_step1(struct ieee80211_device *ieee) if (!skb) { ieee80211_associate_abort(ieee); } else { - ieee->state = IEEE80211_ASSOCIATING_AUTHENTICATING ; + ieee->state = IEEE80211_ASSOCIATING_AUTHENTICATING; IEEE80211_DEBUG_MGMT("Sending authentication request\n"); softmac_mgmt_xmit(skb, ieee); /* BUGON when you try to add_timer twice, using mod_timer may @@ -1823,7 +1823,7 @@ void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee) struct ieee80211_hdr_3addr *header; spin_lock_irqsave(&ieee->lock,flags); - if (! ieee->queue_stop) goto exit; + if (!ieee->queue_stop) goto exit; ieee->queue_stop = 0; @@ -1849,7 +1849,7 @@ void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee) ieee->softmac_stats.swtxawake++; netif_wake_queue(ieee->dev); } -exit : +exit: spin_unlock_irqrestore(&ieee->lock,flags); }