drivers/net: Move && and || to end of previous line
Only files where David Miller is the primary git-signer. wireless, wimax, ixgbe, etc are not modified. Compile tested x86 allyesconfig only Not all files compiled (not x86 compatible) Added a few > 80 column lines, which I ignored. Existing checkpatch complaints ignored. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3454f83583
commit
8e95a2026f
@@ -4717,8 +4717,8 @@ static u8 bnx2x_ext_phy_is_link_up(struct link_params *params,
|
||||
0xc809, &val1);
|
||||
|
||||
DP(NETIF_MSG_LINK, "8705 1.c809 val=0x%x\n", val1);
|
||||
ext_phy_link_up = ((rx_sd & 0x1) && (val1 & (1<<9))
|
||||
&& ((val1 & (1<<8)) == 0));
|
||||
ext_phy_link_up = ((rx_sd & 0x1) && (val1 & (1<<9)) &&
|
||||
((val1 & (1<<8)) == 0));
|
||||
if (ext_phy_link_up)
|
||||
vars->line_speed = SPEED_10000;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user