slip: fix MTU comparation operation when reallocating buffers
authorMatvejchikov Ilya <matvejchikov@gmail.com>
Tue, 12 Jul 2011 21:46:17 +0000 (21:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2011 09:31:39 +0000 (02:31 -0700)
commite28634d6b229dec216596298c765c203d6b6fa4c
treebc42b32c19e27e498f404f09e89572591ee3207c
parent30c5f8ecf246997d16ba5b11becc5f10f9deaf7a
slip: fix MTU comparation operation when reallocating buffers

In sl_realloc_bufs() there is no reason to check if the requested MTU greater
than or equal to the current MTU value as this function called only
when requested
MTU not equals to the current value. So, the ">=" operation can be
safely replaced
with the ">".

Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/slip.c