Whamcloud - gitweb
LU-5829 libcfs: remove unnecessary EXPORT_SYMBOL
[fs/lustre-release.git] / libcfs / libcfs / watchdog.c
index 7f760bb..514bcf9 100644 (file)
@@ -203,6 +203,15 @@ static void lcw_dump_stack(struct lc_watchdog *lcw)
         }
 }
 
+/*
+ * Provided watchdog handlers
+ */
+
+static void lc_watchdog_dumplog(pid_t pid, void *data)
+{
+       libcfs_debug_dumplog_internal((void *)((long_ptr_t)pid));
+}
+
 static int lcw_dispatch_main(void *data)
 {
         int                 rc = 0;
@@ -478,16 +487,6 @@ void lc_watchdog_delete(struct lc_watchdog *lcw)
 }
 EXPORT_SYMBOL(lc_watchdog_delete);
 
-/*
- * Provided watchdog handlers
- */
-
-void lc_watchdog_dumplog(pid_t pid, void *data)
-{
-        libcfs_debug_dumplog_internal((void *)((long_ptr_t)pid));
-}
-EXPORT_SYMBOL(lc_watchdog_dumplog);
-
 #else   /* !defined(WITH_WATCHDOG) */
 
 struct lc_watchdog *lc_watchdog_add(int timeout,