forked from Minki/linux
staging: kpc2000: remove unnecessary debug prints in kpc_dma_driver.c
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>
This commit is contained in:
parent
7cb0163aa2
commit
a98daf5c5d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user