* [PATCH -next] freezer: Remove unused inline function try_to_freeze_nowarn()
@ 2021-04-01 14:15 YueHaibing
2021-04-08 17:13 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2021-04-01 14:15 UTC (permalink / raw)
To: rjw, pavel, len.brown, zhe.he, yuehaibing; +Cc: linux-pm, linux-kernel
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) {}
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] freezer: Remove unused inline function try_to_freeze_nowarn()
2021-04-01 14:15 [PATCH -next] freezer: Remove unused inline function try_to_freeze_nowarn() YueHaibing
@ 2021-04-08 17:13 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2021-04-08 17:13 UTC (permalink / raw)
To: YueHaibing
Cc: Rafael J. Wysocki, Pavel Machek, Len Brown, zhe.he, Linux PM,
Linux Kernel Mailing List
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!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-08 17:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 14:15 [PATCH -next] freezer: Remove unused inline function try_to_freeze_nowarn() YueHaibing
2021-04-08 17:13 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).