From: Ilpo Järvinen Date: Sat, 6 Dec 2008 06:39:49 +0000 (-0800) Subject: dccp: use roundup instead of opencoding X-Git-Tag: v2.6.29-rc1~581^2~302 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=61c1d052a3c7d5acba3bd535aaffa5bb5d085181;p=linux-2.6-omap-h63xx.git dccp: use roundup instead of opencoding Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller --- diff --git a/net/dccp/output.c b/net/dccp/output.c index fea30cdc0be..22a618af489 100644 --- a/net/dccp/output.c +++ b/net/dccp/output.c @@ -175,7 +175,7 @@ unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) * make it a multiple of 4 */ - cur_mps -= ((5 + 6 + 10 + 6 + 6 + 6 + 3) / 4) * 4; + cur_mps -= roundup(5 + 6 + 10 + 6 + 6 + 6, 4); /* And store cached results */ icsk->icsk_pmtu_cookie = pmtu;