projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e49d033
)
freezer: Remove unused inline function try_to_freeze_nowarn()
author
YueHaibing
<yuehaibing@huawei.com>
Thu, 1 Apr 2021 14:15:37 +0000
(22:15 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 8 Apr 2021 17:12:20 +0000
(19:12 +0200)
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>
include/linux/freezer.h
patch
|
blob
|
history
diff --git
a/include/linux/freezer.h
b/include/linux/freezer.h
index 27828145ca0985d77d37123602ce0ff01a7a7145..0621c5f86c397e62d549051c19d97b4dff626748 100644
(file)
--- 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) {}