aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dynamic_debug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index e487d137929..416c0794ddd 100644
--- a/lib/dynamic_debug.c
+++ b/lib/dynamic_debug.c
@@ -151,10 +151,6 @@ static void ddebug_change(const struct ddebug_query *query,
151 if (newflags == dp->flags) 151 if (newflags == dp->flags)
152 continue; 152 continue;
153 dp->flags = newflags; 153 dp->flags = newflags;
154 if (newflags)
155 dp->enabled = 1;
156 else
157 dp->enabled = 0;
158 if (verbose) 154 if (verbose)
159 pr_info("changed %s:%d [%s]%s %s\n", 155 pr_info("changed %s:%d [%s]%s %s\n",
160 dp->filename, dp->lineno, 156 dp->filename, dp->lineno,