aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/rc80211_pid.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-07 12:04:32 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 18:05:59 -0400
commitc6a1fa12d206882757264869f8e32d606b930e2a (patch)
treec69a7f8ebe43481a985acd7844d35a26bd9a61ce /net/mac80211/rc80211_pid.h
parent36ff382d0065c9980c203c7cd3b3eb26251e9397 (diff)
mac80211: minor code cleanups
Nothing very interesting, some checkpatch inspired stuff, some other things. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rc80211_pid.h')
-rw-r--r--net/mac80211/rc80211_pid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_pid.h b/net/mac80211/rc80211_pid.h
index 01d64d53f3b..ce099ea1d5d 100644
--- a/net/mac80211/rc80211_pid.h
+++ b/net/mac80211/rc80211_pid.h
@@ -49,7 +49,7 @@
/* Arithmetic right shift for positive and negative values for ISO C. */
#define RC_PID_DO_ARITH_RIGHT_SHIFT(x, y) \
- (x) < 0 ? -((-(x)) >> (y)) : (x) >> (y)
+ ((x) < 0 ? -((-(x)) >> (y)) : (x) >> (y))
enum rc_pid_event_type {
RC_PID_EVENT_TYPE_TX_STATUS,