Skip to content

Commit

Permalink
staging: gasket: remove debug logs for callback invocation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Todd Poynor authored and Greg Kroah-Hartman committed Oct 19, 2018
1 parent e21d5cc commit 8ae925f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/staging/gasket/gasket_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
}

Expand Down

0 comments on commit 8ae925f

Please sign in to comment.