From: Dan Carpenter Date: Fri, 4 Nov 2011 08:21:38 +0000 (+0000) Subject: bonding: comparing a u8 with -1 is always false X-Git-Tag: v3.2-rc1~4^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=589665f5a6008dbce1d0af2cb93e94a80bf78151;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed