net: phy: at803x: remove extra space after cast
Remove extra space after cast as reported by checkpatch to keep code clean. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20231217232739.27065-1-ansuelsmth@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
bee9705c67
commit
fc9d7264dd
|
@ -462,7 +462,7 @@ static int at803x_set_wol(struct phy_device *phydev,
|
||||||
if (!ndev)
|
if (!ndev)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
mac = (const u8 *) ndev->dev_addr;
|
mac = (const u8 *)ndev->dev_addr;
|
||||||
|
|
||||||
if (!is_valid_ether_addr(mac))
|
if (!is_valid_ether_addr(mac))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
Loading…
Reference in New Issue