Drop repeated words in net/tipc/.

Signed-off-by: Randy Dunlap <rdun...@infradead.org>
Cc: "David S. Miller" <da...@davemloft.net>
Cc: Jakub Kicinski <k...@kernel.org>
Cc: Jon Maloy <jma...@redhat.com>
Cc: Ying Xue <ying....@windriver.com>
Cc: tipc-discuss...@lists.sourceforge.net
---
 net/tipc/msg.c    |    2 +-
 net/tipc/socket.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20200917.orig/net/tipc/msg.c
+++ linux-next-20200917/net/tipc/msg.c
@@ -582,7 +582,7 @@ bundle:
  *  @pos: position in outer message of msg to be extracted.
  *        Returns position of next msg
  *  Consumes outer buffer when last packet extracted
- *  Returns true when when there is an extracted buffer, otherwise false
+ *  Returns true when there is an extracted buffer, otherwise false
  */
 bool tipc_msg_extract(struct sk_buff *skb, struct sk_buff **iskb, int *pos)
 {
--- linux-next-20200917.orig/net/tipc/socket.c
+++ linux-next-20200917/net/tipc/socket.c
@@ -54,7 +54,7 @@
 #define CONN_PROBING_INTV      msecs_to_jiffies(3600000)  /* [ms] => 1 h */
 #define TIPC_MAX_PORT          0xffffffff
 #define TIPC_MIN_PORT          1
-#define TIPC_ACK_RATE          4       /* ACK at 1/4 of of rcv window size */
+#define TIPC_ACK_RATE          4       /* ACK at 1/4 of rcv window size */
 
 enum {
        TIPC_LISTEN = TCP_LISTEN,

Reply via email to