Skip to content

Commit

Permalink
rxrpc: Remove unused macro rxrpc_min_rtt_wlen
Browse files Browse the repository at this point in the history
rxrpc_min_rtt_wlen is never used after it was introduced.
So better to remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Wang Hai authored and Jakub Kicinski committed Sep 7, 2020
1 parent 14e9e26 commit 81365af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/rxrpc/rtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 81365af

Please sign in to comment.