mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
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>
This commit is contained in:
parent
e21d5cca3a
commit
8ae925f025
1 changed files with 1 additions and 6 deletions
|
@ -109,8 +109,6 @@ check_and_invoke_callback(struct gasket_dev *gasket_dev,
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
dev_dbg(gasket_dev->dev, "check_and_invoke_callback %p\n",
|
|
||||||
cb_function);
|
|
||||||
if (cb_function) {
|
if (cb_function) {
|
||||||
mutex_lock(&gasket_dev->mutex);
|
mutex_lock(&gasket_dev->mutex);
|
||||||
ret = cb_function(gasket_dev);
|
ret = cb_function(gasket_dev);
|
||||||
|
@ -126,11 +124,8 @@ gasket_check_and_invoke_callback_nolock(struct gasket_dev *gasket_dev,
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
if (cb_function) {
|
if (cb_function)
|
||||||
dev_dbg(gasket_dev->dev,
|
|
||||||
"Invoking device-specific callback.\n");
|
|
||||||
ret = cb_function(gasket_dev);
|
ret = cb_function(gasket_dev);
|
||||||
}
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue