mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-24 19:44:55 +00:00
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>
This commit is contained in:
parent
24820df144
commit
9687a31c84
@ -312,10 +312,10 @@ static inline bool batadv_has_timed_out(unsigned long timestamp,
|
|||||||
* - when adding 128 - it is neither a predecessor nor a successor,
|
* - when adding 128 - it is neither a predecessor nor a successor,
|
||||||
* - after adding more than 127 to the starting value - it is a successor
|
* - after adding more than 127 to the starting value - it is a successor
|
||||||
*/
|
*/
|
||||||
#define batadv_seq_before(x, y) ({typeof(x) _d1 = (x); \
|
#define batadv_seq_before(x, y) ({typeof(x)_d1 = (x); \
|
||||||
typeof(y) _d2 = (y); \
|
typeof(y)_d2 = (y); \
|
||||||
typeof(x) _dummy = (_d1 - _d2); \
|
typeof(x)_dummy = (_d1 - _d2); \
|
||||||
(void) (&_d1 == &_d2); \
|
(void)(&_d1 == &_d2); \
|
||||||
_dummy > batadv_smallest_signed_int(_dummy); })
|
_dummy > batadv_smallest_signed_int(_dummy); })
|
||||||
#define batadv_seq_after(x, y) batadv_seq_before(y, x)
|
#define batadv_seq_after(x, y) batadv_seq_before(y, x)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user