Skip to contentSkip to conversation

rxrpc: Remove unused macro rxrpc_min_rtt_wlen

PATCH Applied Wang Hai 2 participants 2 messages Sep 4, 2020 – Sep 7, 2020

Subsystems (3)
lore
Share & tools
lore

Wang Hai

author
#0 lore raw

PATCH 1/1 rxrpc: Remove unused macro rxrpc_min_rtt_wlen

rxrpc_min_rtt_wlen is never used after it was introduced. So better to remove it.

---
 net/rxrpc/rtt.c | 1 -
 1 file changed, 1 deletion(-)
net/rxrpc/rtt.c +0 -1
index 928d8b34a3ee..a056c9bcf1d6 100644
@@ -14,7 +14,6 @@
 #define RXRPC_RTO_MAX	((unsigned)(120 * HZ))
 #define RXRPC_TIMEOUT_INIT ((unsigned)(1*HZ))	/* RFC6298 2.1 initial RTO value	*/
 #define rxrpc_jiffies32 ((u32)jiffies)		/* As rxrpc_jiffies32 */
-#define rxrpc_min_rtt_wlen 300			/* As sysctl_tcp_min_rtt_wlen */
 
 static u32 rxrpc_rto_min_us(struct rxrpc_peer *peer)
 {
Signature · 1 line
2.17.1