From: Stanislaw Gruszka Date: Thu, 3 Nov 2011 09:40:46 +0000 (+0100) Subject: mac80211: remove useless brackets in ieee80211_cfg_on_oper_channel X-Git-Tag: v3.3-rc1~182^2~545^2~121 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0b62ffb53c9732e02ec77ae795f1e03cb2f2d406;p=~emulex%2Finfiniband.git mac80211: remove useless brackets in ieee80211_cfg_on_oper_channel Signed-off-by: Stanislaw Gruszka Reviewed-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 094fd57099c..7217019d1ed 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -126,8 +126,8 @@ bool ieee80211_cfg_on_oper_channel(struct ieee80211_local *local) return false; /* Check current hardware-config against oper_channel. */ - if ((local->oper_channel != local->hw.conf.channel) || - (local->_oper_channel_type != local->hw.conf.channel_type)) + if (local->oper_channel != local->hw.conf.channel || + local->_oper_channel_type != local->hw.conf.channel_type) return false; return true;