summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorTodd Poynor2018-10-16 14:03:07 +0200
committerGreg Kroah-Hartman2018-10-19 21:12:28 +0200
commit8ae925f02553240a4c15a1e80a6dfc5c0fa95e67 (patch)
treeb9fa0513b5594540cf794a69605308b4b0b9457e /drivers/staging
parentstaging: gasket: remove debug logs in page table mapping calls (diff)
downloadkernel-qcow2-linux-8ae925f02553240a4c15a1e80a6dfc5c0fa95e67.tar.gz
kernel-qcow2-linux-8ae925f02553240a4c15a1e80a6dfc5c0fa95e67.tar.xz
kernel-qcow2-linux-8ae925f02553240a4c15a1e80a6dfc5c0fa95e67.zip
staging: gasket: remove debug logs for callback invocation
Debug logs for device-specific callback invocation aren't very useful, remove. Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/gasket/gasket_core.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/gasket/gasket_core.c b/drivers/staging/gasket/gasket_core.c
index f230bec76ae4..a445d58fb399 100644
--- a/drivers/staging/gasket/gasket_core.c
+++ b/drivers/staging/gasket/gasket_core.c
@@ -109,8 +109,6 @@ check_and_invoke_callback(struct gasket_dev *gasket_dev,
{
int ret = 0;
- dev_dbg(gasket_dev->dev, "check_and_invoke_callback %p\n",
- cb_function);
if (cb_function) {
mutex_lock(&gasket_dev->mutex);
ret = cb_function(gasket_dev);
@@ -126,11 +124,8 @@ gasket_check_and_invoke_callback_nolock(struct gasket_dev *gasket_dev,
{
int ret = 0;
- if (cb_function) {
- dev_dbg(gasket_dev->dev,
- "Invoking device-specific callback.\n");
+ if (cb_function)
ret = cb_function(gasket_dev);
- }
return ret;
}