aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_htcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_htcp.c')
-rw-r--r--net/ipv4/tcp_htcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_htcp.c b/net/ipv4/tcp_htcp.c
index 3d92c1859267..682e7d5b6f2f 100644
--- a/net/ipv4/tcp_htcp.c
+++ b/net/ipv4/tcp_htcp.c
@@ -6,7 +6,6 @@
6 * http://www.hamilton.ie/net/htcp3.pdf 6 * http://www.hamilton.ie/net/htcp3.pdf
7 */ 7 */
8 8
9#include <linux/config.h>
10#include <linux/mm.h> 9#include <linux/mm.h>
11#include <linux/module.h> 10#include <linux/module.h>
12#include <net/tcp.h> 11#include <net/tcp.h>
@@ -287,7 +286,7 @@ static struct tcp_congestion_ops htcp = {
287 286
288static int __init htcp_register(void) 287static int __init htcp_register(void)
289{ 288{
290 BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE); 289 BUILD_BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE);
291 BUILD_BUG_ON(BETA_MIN >= BETA_MAX); 290 BUILD_BUG_ON(BETA_MIN >= BETA_MAX);
292 return tcp_register_congestion_control(&htcp); 291 return tcp_register_congestion_control(&htcp);
293} 292}