diff options
author | Todd Poynor <toddpoynor@google.com> | 2018-10-16 08:03:07 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-19 15:12:28 -0400 |
commit | 8ae925f02553240a4c15a1e80a6dfc5c0fa95e67 (patch) | |
tree | b9fa0513b5594540cf794a69605308b4b0b9457e | |
parent | e21d5cca3a1bc1e7c1f61796e71c060704bfe863 (diff) |
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>
-rw-r--r-- | drivers/staging/gasket/gasket_core.c | 7 |
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, | |||
109 | { | 109 | { |
110 | int ret = 0; | 110 | int ret = 0; |
111 | 111 | ||
112 | dev_dbg(gasket_dev->dev, "check_and_invoke_callback %p\n", | ||
113 | cb_function); | ||
114 | if (cb_function) { | 112 | if (cb_function) { |
115 | mutex_lock(&gasket_dev->mutex); | 113 | mutex_lock(&gasket_dev->mutex); |
116 | ret = cb_function(gasket_dev); | 114 | ret = cb_function(gasket_dev); |
@@ -126,11 +124,8 @@ gasket_check_and_invoke_callback_nolock(struct gasket_dev *gasket_dev, | |||
126 | { | 124 | { |
127 | int ret = 0; | 125 | int ret = 0; |
128 | 126 | ||
129 | if (cb_function) { | 127 | if (cb_function) |
130 | dev_dbg(gasket_dev->dev, | ||
131 | "Invoking device-specific callback.\n"); | ||
132 | ret = cb_function(gasket_dev); | 128 | ret = cb_function(gasket_dev); |
133 | } | ||
134 | return ret; | 129 | return ret; |
135 | } | 130 | } |
136 | 131 | ||