You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
net: return operator cleanup
Change "return (EXPR);" to "return EXPR;" return is not a function, parentheses are not required. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6a08d194ee
commit
a02cec2155
@@ -282,7 +282,7 @@ static inline int irlap_is_primary(struct irlap_cb *self)
|
||||
default:
|
||||
ret = -1;
|
||||
}
|
||||
return(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Clear a pending IrLAP disconnect. - Jean II */
|
||||
|
||||
@@ -274,7 +274,7 @@ static inline int irlmp_lap_tx_queue_full(struct lsap_cb *self)
|
||||
if (self->lap->irlap == NULL)
|
||||
return 0;
|
||||
|
||||
return(IRLAP_GET_TX_QUEUE_LEN(self->lap->irlap) >= LAP_HIGH_THRESHOLD);
|
||||
return IRLAP_GET_TX_QUEUE_LEN(self->lap->irlap) >= LAP_HIGH_THRESHOLD;
|
||||
}
|
||||
|
||||
/* After doing a irlmp_dup(), this get one of the two socket back into
|
||||
|
||||
@@ -204,7 +204,7 @@ static inline int irttp_is_primary(struct tsap_cb *self)
|
||||
(self->lsap->lap == NULL) ||
|
||||
(self->lsap->lap->irlap == NULL))
|
||||
return -2;
|
||||
return(irlap_is_primary(self->lsap->lap->irlap));
|
||||
return irlap_is_primary(self->lsap->lap->irlap);
|
||||
}
|
||||
|
||||
#endif /* IRTTP_H */
|
||||
|
||||
Reference in New Issue
Block a user