diff options
Diffstat (limited to 'src/vnet/session/transport.h')
-rw-r--r-- | src/vnet/session/transport.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vnet/session/transport.h b/src/vnet/session/transport.h index b2be990947c..3c4e15a9a6b 100644 --- a/src/vnet/session/transport.h +++ b/src/vnet/session/transport.h @@ -184,9 +184,7 @@ transport_connection_snd_params (transport_connection_t * tc, static inline u8 transport_connection_is_descheduled (transport_connection_t * tc) { - if (tc->flags & TRANSPORT_CONNECTION_F_DESCHED) - return 1; - return 0; + return ((tc->flags & TRANSPORT_CONNECTION_F_DESCHED) ? 1 : 0); } static inline void |