Skip to content

Commit

Permalink
freezer: Remove unused inline function try_to_freeze_nowarn()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YueHaibing authored and Rafael J. Wysocki committed Apr 8, 2021
1 parent e49d033 commit 2efa337
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/freezer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit 2efa337

Please sign in to comment.