]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PM: sleep: Remove unnecessary !!
authorZihuan Zhang <zhangzihuan@kylinos.cn>
Thu, 24 Apr 2025 06:03:39 +0000 (14:03 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 25 Apr 2025 18:49:20 +0000 (20:49 +0200)
commit9cd9d3fdd72b21b9ea47a8e1a08959d833b6e6ef
treeac97f3c6f899a6ea5a370536534881874bf22c5f
parent036c94c9fd05824f86a92db115eba2773cc79231
PM: sleep: Remove unnecessary !!

Since initcall_debug is a bool variable, it is not necessary to convert
it to bool with the help of a double logical negation (!!).

Remove the redundant operation.

Signed-off-by: Zihuan Zhang <zhangzihuan@kylinos.cn>
Link: https://patch.msgid.link/20250424060339.73119-1-zhangzihuan@kylinos.cn
[ rjw: Changelog rewrite ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/main.c