summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>2024-07-31 14:46:06 +0530
committerDavid S. Miller <davem@davemloft.net>2024-08-02 10:25:22 +0100
commitf83828a0522fc57b244629844fc413e38cde95f3 (patch)
tree1fa219893ca54b801e884a5735e585c79bd16a40 /drivers
parentf7061a3e04cf17162a2d96f4f746f7904c26158e (diff)
downloadlinux-stable-f83828a0522fc57b244629844fc413e38cde95f3.tar.gz
linux-stable-f83828a0522fc57b244629844fc413e38cde95f3.tar.bz2
linux-stable-f83828a0522fc57b244629844fc413e38cde95f3.zip
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: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_axienet_main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
index 32b49270e8d6..490d647a9069 100644
--- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
+++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
@@ -1515,8 +1515,6 @@ static int axienet_open(struct net_device *ndev)
int ret;
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
* including the MDIO. MDIO must be disabled before resetting.
* Hold MDIO bus lock to avoid MDIO accesses during the reset.
@@ -1577,8 +1575,6 @@ static int axienet_stop(struct net_device *ndev)
struct axienet_local *lp = netdev_priv(ndev);
int i;
- dev_dbg(&ndev->dev, "axienet_close()\n");
-
if (!lp->use_dmaengine) {
napi_disable(&lp->napi_tx);
napi_disable(&lp->napi_rx);