kgdb: fix comment regarding static function
authorNadav Amit <namit@vmware.com>
Mon, 22 Oct 2018 04:45:48 +0000 (21:45 -0700)
committerDaniel Thompson <daniel.thompson@linaro.org>
Tue, 3 Sep 2019 10:19:41 +0000 (11:19 +0100)
The comment that says that module_event() is not static is clearly
wrong.

Signed-off-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
kernel/debug/debug_core.c

index 5cc608d..10f1187 100644 (file)
@@ -787,11 +787,8 @@ out:
 }
 
 /*
- * GDB places a breakpoint at this function to know dynamically
- * loaded objects. It's not defined static so that only one instance with this
- * name exists in the kernel.
+ * GDB places a breakpoint at this function to know dynamically loaded objects.
  */
-
 static int module_event(struct notifier_block *self, unsigned long val,
        void *data)
 {