]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: kpc2000: remove unnecessary debug prints in dma.c
authorSimon Sandström <simon@nikanor.nu>
Mon, 10 Jun 2019 08:44:30 +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/dma.c

index 059932ab590710379bc707047b5a81ffc4c6a56b..8092d0cf4a4aedc0d8c34a06370a97a8284d67da 100644 (file)
@@ -92,8 +92,6 @@ int  setup_dma_engine(struct kpc_dma_device *eng, u32 desc_cnt)
        unsigned int i;
        int rv;
 
-       dev_dbg(&eng->pldev->dev, "Setting up DMA engine [%p]\n", eng);
-
        caps = GetEngineCapabilities(eng);
 
        if (WARN(!(caps & ENG_CAP_PRESENT), "%s() called for DMA Engine at %p which isn't present in hardware!\n", __func__, eng))
@@ -161,8 +159,6 @@ void  stop_dma_engine(struct kpc_dma_device *eng)
 {
        unsigned long timeout;
 
-       dev_dbg(&eng->pldev->dev, "Destroying DMA engine [%p]\n", eng);
-
        // Disable the descriptor engine
        WriteEngineControl(eng, 0);