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)
commitf584130616dfae757b888b7ee472e7c824f59e6a
treeefe1382a091dfb6af18206472bf5472c32192e6a
parent89c76c62f191daa7ede3d1d0c510a5ccfbcae571
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