From: Wang Hai Date: Fri, 4 Sep 2020 13:08:37 +0000 (+0800) Subject: rxrpc: Remove unused macro rxrpc_min_rtt_wlen X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=81365af13a5630673c49bfad9b24cf415e9576f6;p=linux.git rxrpc: Remove unused macro rxrpc_min_rtt_wlen rxrpc_min_rtt_wlen is never used after it was introduced. So better to remove it. Reported-by: Hulk Robot Signed-off-by: Wang Hai Signed-off-by: Jakub Kicinski --- diff --git a/net/rxrpc/rtt.c b/net/rxrpc/rtt.c index 1221b0637a7ec..4e565eeab4260 100644 --- a/net/rxrpc/rtt.c +++ b/net/rxrpc/rtt.c @@ -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) {