]> err.no Git - linux-2.6/commit
[TCP]: Remove unneeded implicit type cast when calling tcp_minshall_update()
authorChuck Lever <chuck.lever@oracle.com>
Wed, 24 Oct 2007 04:08:54 +0000 (21:08 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 24 Oct 2007 04:27:55 +0000 (21:27 -0700)
commitc1bd24b76879f61b2d10609b0dabde400792a6ec
treee059d438ee2c6d92dfc5b06710fdd9ef200e255f
parentc2636b4d9e8ab8d16b9e2bf0f0744bb8418d4026
[TCP]: Remove unneeded implicit type cast when calling tcp_minshall_update()

The tcp_minshall_update() function is called in exactly one place, and is
passed an unsigned integer for the mss_len argument.  Make the sign of the
argument match the sign of the passed variable in order to eliminate an
unneeded implicit type cast and a mixed sign comparison in
tcp_minshall_update().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h