diff options
author | Antonio Quartulli <antonio@meshcoding.com> | 2014-09-01 08:37:26 -0400 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2015-01-07 11:21:55 -0500 |
commit | 9687a31c84d7eca038a5335d8d804c11bd5d8653 (patch) | |
tree | 123ddc5839dfe6aea5944489ce49b0a358859bf4 /net/batman-adv/main.h | |
parent | 24820df1449d4d7cf71bb66e7885ab7394c7b4fb (diff) |
batman-adv: checkpatch - No space is necessary after a cast
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r-- | net/batman-adv/main.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index 2a59b0455e0a..18286f8b4d26 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h | |||
@@ -312,10 +312,10 @@ static inline bool batadv_has_timed_out(unsigned long timestamp, | |||
312 | * - when adding 128 - it is neither a predecessor nor a successor, | 312 | * - when adding 128 - it is neither a predecessor nor a successor, |
313 | * - after adding more than 127 to the starting value - it is a successor | 313 | * - after adding more than 127 to the starting value - it is a successor |
314 | */ | 314 | */ |
315 | #define batadv_seq_before(x, y) ({typeof(x) _d1 = (x); \ | 315 | #define batadv_seq_before(x, y) ({typeof(x)_d1 = (x); \ |
316 | typeof(y) _d2 = (y); \ | 316 | typeof(y)_d2 = (y); \ |
317 | typeof(x) _dummy = (_d1 - _d2); \ | 317 | typeof(x)_dummy = (_d1 - _d2); \ |
318 | (void) (&_d1 == &_d2); \ | 318 | (void)(&_d1 == &_d2); \ |
319 | _dummy > batadv_smallest_signed_int(_dummy); }) | 319 | _dummy > batadv_smallest_signed_int(_dummy); }) |
320 | #define batadv_seq_after(x, y) batadv_seq_before(y, x) | 320 | #define batadv_seq_after(x, y) batadv_seq_before(y, x) |
321 | 321 | ||