summaryrefslogtreecommitdiff
path: root/include/linux/freezer.h
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-04-01 17:15:37 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-04-08 20:12:20 +0300
commit2efa3377230bab432fdeabe5828d19d2d49a96d2 (patch)
treef0c7b3972dce240c87007ee11874552f76532bf7 /include/linux/freezer.h
parente49d033bddf5b565044e2abe4241353959bc9120 (diff)
downloadlinux-2efa3377230bab432fdeabe5828d19d2d49a96d2.tar.xz
freezer: Remove unused inline function try_to_freeze_nowarn()
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/freezer.h')
-rw-r--r--include/linux/freezer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/freezer.h b/include/linux/freezer.h
index 27828145ca09..0621c5f86c39 100644
--- a/include/linux/freezer.h
+++ b/include/linux/freezer.h
@@ -279,7 +279,6 @@ static inline int freeze_kernel_threads(void) { return -ENOSYS; }
static inline void thaw_processes(void) {}
static inline void thaw_kernel_threads(void) {}
-static inline bool try_to_freeze_nowarn(void) { return false; }
static inline bool try_to_freeze(void) { return false; }
static inline void freezer_do_not_count(void) {}