X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fipv4%2Ftcp_westwood.c;h=4f42a86c77f377deb3972838e4737e4cf1006788;hb=6ce61a7c2678800cfe59a5f4a41ce8f785b9d355;hp=4247da1384bfb25487b51add257cb8d852ec8327;hpb=0c97f524fc16004602f97ba19c36acdcc0fb9688;p=powerpc.git diff --git a/net/ipv4/tcp_westwood.c b/net/ipv4/tcp_westwood.c index 4247da1384..4f42a86c77 100644 --- a/net/ipv4/tcp_westwood.c +++ b/net/ipv4/tcp_westwood.c @@ -21,7 +21,6 @@ * ssthresh after packet loss. The probing phase is as the original Reno. */ -#include #include #include #include @@ -290,7 +289,7 @@ static struct tcp_congestion_ops tcp_westwood = { static int __init tcp_westwood_register(void) { - BUG_ON(sizeof(struct westwood) > ICSK_CA_PRIV_SIZE); + BUILD_BUG_ON(sizeof(struct westwood) > ICSK_CA_PRIV_SIZE); return tcp_register_congestion_control(&tcp_westwood); }