mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
net: sctp: protocol.c: delete duplicated words + punctuation
Drop the repeated words "of" and "that". Add some punctuation for readability. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Vlad Yasevich <vyasevich@gmail.com> Cc: Neil Horman <nhorman@tuxdriver.com> Cc: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Cc: linux-sctp@vger.kernel.org Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9932564f12
commit
93c3216a71
@ -372,7 +372,7 @@ static int sctp_v4_available(union sctp_addr *addr, struct sctp_sock *sp)
|
|||||||
* Level 3 - private addresses.
|
* Level 3 - private addresses.
|
||||||
* Level 4 - global addresses
|
* Level 4 - global addresses
|
||||||
* For INIT and INIT-ACK address list, let L be the level of
|
* For INIT and INIT-ACK address list, let L be the level of
|
||||||
* of requested destination address, sender and receiver
|
* requested destination address, sender and receiver
|
||||||
* SHOULD include all of its addresses with level greater
|
* SHOULD include all of its addresses with level greater
|
||||||
* than or equal to L.
|
* than or equal to L.
|
||||||
*
|
*
|
||||||
@ -1483,10 +1483,10 @@ static __init int sctp_init(void)
|
|||||||
num_entries = (1UL << order) * PAGE_SIZE /
|
num_entries = (1UL << order) * PAGE_SIZE /
|
||||||
sizeof(struct sctp_bind_hashbucket);
|
sizeof(struct sctp_bind_hashbucket);
|
||||||
|
|
||||||
/* And finish by rounding it down to the nearest power of two
|
/* And finish by rounding it down to the nearest power of two.
|
||||||
* this wastes some memory of course, but its needed because
|
* This wastes some memory of course, but it's needed because
|
||||||
* the hash function operates based on the assumption that
|
* the hash function operates based on the assumption that
|
||||||
* that the number of entries is a power of two
|
* the number of entries is a power of two.
|
||||||
*/
|
*/
|
||||||
sctp_port_hashsize = rounddown_pow_of_two(num_entries);
|
sctp_port_hashsize = rounddown_pow_of_two(num_entries);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user