Commit 8b0c4a7c authored by Puranjay Mohan's avatar Puranjay Mohan Committed by Greg Kroah-Hartman

Staging: rtl8192u: ieee80211: Fix coding style warning

Remove braces around a single if statement to fix following
checkpatch.pl warning.
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: default avatarPuranjay Mohan <puranjay12@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dad3f77f
...@@ -2577,9 +2577,8 @@ static inline void ieee80211_process_probe_response( ...@@ -2577,9 +2577,8 @@ static inline void ieee80211_process_probe_response(
spin_unlock_irqrestore(&ieee->lock, flags); spin_unlock_irqrestore(&ieee->lock, flags);
if (is_beacon(beacon->header.frame_ctl)&&is_same_network(&ieee->current_network, network, ieee)&&\ if (is_beacon(beacon->header.frame_ctl)&&is_same_network(&ieee->current_network, network, ieee)&&\
(ieee->state == IEEE80211_LINKED)) { (ieee->state == IEEE80211_LINKED)) {
if (ieee->handle_beacon != NULL) { if (ieee->handle_beacon != NULL)
ieee->handle_beacon(ieee->dev,beacon,&ieee->current_network); ieee->handle_beacon(ieee->dev,beacon,&ieee->current_network);
}
} }
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment