[net-next PATCH] net: phy: at803x: remove extra space after cast

From: Christian Marangi
Date: Sun Dec 17 2023 - 18:28:11 EST


Remove extra space after cast as reported by checkpatch to keep code
clean.

Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
---
drivers/net/phy/at803x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
index 2b2f0fadaf84..d5dc927618ab 100644
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
@@ -462,7 +462,7 @@ static int at803x_set_wol(struct phy_device *phydev,
if (!ndev)
return -ENODEV;

- mac = (const u8 *) ndev->dev_addr;
+ mac = (const u8 *)ndev->dev_addr;

if (!is_valid_ether_addr(mac))
return -EINVAL;
--
2.40.1