diff options
author | Puranjay Mohan <puranjay12@gmail.com> | 2019-05-14 23:00:19 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-20 07:40:41 +0200 |
commit | 8b0c4a7ca1ed8a718beb741c1c30aabe4df68c35 (patch) | |
tree | bbfe65a9c93bfb51321d66818e8ee9159f880bba /drivers/staging/rtl8192u | |
parent | dad3f77ff4808ff78e47c78d6805c4f2f2204f93 (diff) | |
download | linux-8b0c4a7ca1ed8a718beb741c1c30aabe4df68c35.tar.gz linux-8b0c4a7ca1ed8a718beb741c1c30aabe4df68c35.tar.bz2 linux-8b0c4a7ca1ed8a718beb741c1c30aabe4df68c35.zip |
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: Puranjay Mohan <puranjay12@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c index 0e762e559675..1ab10d8919a6 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c @@ -2577,9 +2577,8 @@ static inline void ieee80211_process_probe_response( spin_unlock_irqrestore(&ieee->lock, flags); if (is_beacon(beacon->header.frame_ctl)&&is_same_network(&ieee->current_network, network, ieee)&&\ (ieee->state == IEEE80211_LINKED)) { - if (ieee->handle_beacon != NULL) { + if (ieee->handle_beacon != NULL) ieee->handle_beacon(ieee->dev,beacon,&ieee->current_network); - } } out: |