[PATCH 5/5] staging: kpc2000: remove unnecessary debug prints in kpc_dma_driver.c

From: Simon SandstrÃm
Date: Mon Jun 10 2019 - 04:49:21 EST


Debug prints that are used only to inform about function entry or exit
can be removed as ftrace can be used to get this information.

Signed-off-by: Simon SandstrÃm <simon@xxxxxxxxxx>
---
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
index 9acf1eafa024..4b854027e60a 100644
--- a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
+++ b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
@@ -106,8 +106,6 @@ int kpc_dma_probe(struct platform_device *pldev)
goto err_rv;
}

- dev_dbg(&pldev->dev, "%s(pldev = [%p]) ldev = [%p]\n", __func__, pldev, ldev);
-
INIT_LIST_HEAD(&ldev->list);

ldev->pldev = pldev;
@@ -183,8 +181,6 @@ int kpc_dma_remove(struct platform_device *pldev)
if (!ldev)
return -ENXIO;

- dev_dbg(&ldev->pldev->dev, "%s(pldev = [%p]) ldev = [%p]\n", __func__, pldev, ldev);
-
lock_engine(ldev);
sysfs_remove_files(&(ldev->pldev->dev.kobj), ndd_attr_list);
destroy_dma_engine(ldev);
--
2.20.1