staging: kpc2000: remove unnecessary debug prints in kpc_dma_driver.c
authorSimon Sandström <simon@nikanor.nu>
Mon, 10 Jun 2019 08:44:32 +0000 (10:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 15:55:07 +0000 (17:55 +0200)
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@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c

index 9acf1eafa02447edf84f5fde6cbff1ccce8f2a1a..4b854027e60a1890d94c2d37b46e6f0765ea77a1 100644 (file)
@@ -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);