Message ID | 20210401141537.21288-1-yuehaibing@huawei.com |
---|---|
State | Accepted |
Commit | 2efa3377230bab432fdeabe5828d19d2d49a96d2 |
Headers | show |
Series | [-next] freezer: Remove unused inline function try_to_freeze_nowarn() | expand |
On Thu, Apr 1, 2021 at 7:58 PM YueHaibing <yuehaibing@huawei.com> wrote: > > There is no caller in tree, so can remove it. > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > --- > include/linux/freezer.h | 1 - > 1 file changed, 1 deletion(-) > > 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) {} > -- Applied as 5.13 material, thanks!
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) {}
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- include/linux/freezer.h | 1 - 1 file changed, 1 deletion(-)