Commit f83828a0 authored by Radhey Shyam Pandey's avatar Radhey Shyam Pandey Committed by David S. Miller

net: axienet: remove unnecessary ftrace-like logging

remove unnecessary ftrace-like logging. Also fixes below
checkpatch WARNING.

WARNING: Unnecessary ftrace-like logging - prefer using ftrace
+       dev_dbg(&ndev->dev, "%s\n", __func__);
Signed-off-by: default avatarRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f7061a3e
...@@ -1515,8 +1515,6 @@ static int axienet_open(struct net_device *ndev) ...@@ -1515,8 +1515,6 @@ static int axienet_open(struct net_device *ndev)
int ret; int ret;
struct axienet_local *lp = netdev_priv(ndev); struct axienet_local *lp = netdev_priv(ndev);
dev_dbg(&ndev->dev, "%s\n", __func__);
/* When we do an Axi Ethernet reset, it resets the complete core /* When we do an Axi Ethernet reset, it resets the complete core
* including the MDIO. MDIO must be disabled before resetting. * including the MDIO. MDIO must be disabled before resetting.
* Hold MDIO bus lock to avoid MDIO accesses during the reset. * Hold MDIO bus lock to avoid MDIO accesses during the reset.
...@@ -1577,8 +1575,6 @@ static int axienet_stop(struct net_device *ndev) ...@@ -1577,8 +1575,6 @@ static int axienet_stop(struct net_device *ndev)
struct axienet_local *lp = netdev_priv(ndev); struct axienet_local *lp = netdev_priv(ndev);
int i; int i;
dev_dbg(&ndev->dev, "axienet_close()\n");
if (!lp->use_dmaengine) { if (!lp->use_dmaengine) {
napi_disable(&lp->napi_tx); napi_disable(&lp->napi_tx);
napi_disable(&lp->napi_rx); napi_disable(&lp->napi_rx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment