sctp: Simplify and make the function sctp_assoc_lookup_laddr bool
Subsystems (3)
Neil Horman
Acked-byQuoted 8 lines · Nicholas Krause
This makes the function
sctp_assoc_lookup_laddrbool due to it only returning either one or zero as its return value. Further more this function can we simplified to return the if statement as part of this function directly and thus remove the no longer required if statement due to this function now being declared as bool.Signed-off-by Nicholas Krause <[email protected]>
Hi Neil,
I would like to kindly ask you to always put full patch in reply when
you are replying to Nicks patch. Because he's banned from vger and only people on cc are able to see his patches and this is only way for rest of us to see what is in his patch.
Thanks.
Quoted 8 lines · Neil Horman
Quoted 8 lines
This makes the function
sctp_assoc_lookup_laddrbool due to it only returning either one or zero as its return value. Further more this function can we simplified to return the if statement as part of this function directly and thus remove the no longer required if statement due to this function now being declared as bool.Signed-off-by Nicholas Krause <[email protected]>
Signature · 2 lines
Kind regards, b.
Quoted 8 lines · Andrej Manduch
Hi Neil,
I would like to kindly ask you to always put full patch in reply when
you are replying to Nicks patch. Because he's banned from vger and only people on cc are able to see his patches and this is only way for rest of us to see what is in his patch.Thanks.
Sure, though that begs the question, why is he banned from vger? Is it his gmail address, or something more directed?
Neil
Quoted 15 lines · Neil Horman
Quoted 8 lines
Quoted 8 lines
This makes the function
sctp_assoc_lookup_laddrbool due to it only returning either one or zero as its return value. Further more this function can we simplified to return the if statement as part of this function directly and thus remove the no longer required if statement due to this function now being declared as bool.Signed-off-by Nicholas Krause <[email protected]>Signature · 2 lines
Kind regards, b.