Commit 7d3cca75 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by David S. Miller
Browse files

net: bcmgenet: Drop too many parentheses in bcmgenet_probe()



No need to have parentheses around plain pointer variable or
negation operator. Drop them for good.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d2af1420
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3529,7 +3529,7 @@ static int bcmgenet_probe(struct platform_device *pdev)
	if (device_get_phy_mode(&pdev->dev) == PHY_INTERFACE_MODE_INTERNAL)
		bcmgenet_power_up(priv, GENET_POWER_PASSIVE);

	if ((pd) && (!IS_ERR_OR_NULL(pd->mac_address)))
	if (pd && !IS_ERR_OR_NULL(pd->mac_address))
		ether_addr_copy(dev->dev_addr, pd->mac_address);
	else
		if (!device_get_mac_address(&pdev->dev, dev->dev_addr, ETH_ALEN))