]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: Fix useless test: int > INT_MAX
authorNicolas de Pesloüan <nicolas.2p.debian@free.fr>
Fri, 28 Aug 2009 13:18:34 +0000 (13:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 06:01:16 +0000 (23:01 -0700)
commit7b13fcefca5b8994e044433acb39c126f1c42d31
treeefe1382a091dfb6af18206472bf5472c32192e6a
parent81b917ada6905d1ba7350e85892304e0ae98bfd4
bonding: Fix useless test: int > INT_MAX

max_bonds is of type int and cannot be greater than INT_MAX.

Signed-off-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c