Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0a77ec7 authored by Dave Jones's avatar Dave Jones Committed by David S. Miller
Browse files

bnx2x: Add missing braces in bnx2x:bnx2x_link_initialize



The indentation here implies that the intent was for this to be a multiline if.
Introduced a few years ago in commit ec146a6f ("bnx2x: Modify XGXS functions")

Signed-off-by: default avatarDave Jones <davej@fedoraproject.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f011baf9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6501,13 +6501,14 @@ static int bnx2x_link_initialize(struct link_params *params,
		struct bnx2x_phy *phy = &params->phy[INT_PHY];
		if (vars->line_speed == SPEED_AUTO_NEG &&
		    (CHIP_IS_E1x(bp) ||
		     CHIP_IS_E2(bp)))
		     CHIP_IS_E2(bp))) {
			bnx2x_set_parallel_detection(phy, params);
			if (params->phy[INT_PHY].config_init)
				params->phy[INT_PHY].config_init(phy,
								 params,
								 vars);
		}
	}

	/* Init external phy*/
	if (non_ext_phy) {