aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sb1000.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-11-04 04:21:38 -0400
committerDavid S. Miller <davem@davemloft.net>2011-11-04 18:37:23 -0400
commit589665f5a6008dbce1d0af2cb93e94a80bf78151 (patch)
tree4f4ec1949dd233a8474c2cb477da3637166b6e75 /drivers/net/sb1000.c
parent27d240fdae2808d727ad9ce48ec029731a457524 (diff)
bonding: comparing a u8 with -1 is always false
slave->duplex is a u8 type so the in bond_info_show_slave() when we check "if (slave->duplex == -1)", it's always false. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sb1000.c')
0 files changed, 0 insertions, 0 deletions