]> git.baikalelectronics.ru Git - kernel.git/commit
clockevents: Use list_move() instead of list_del()/list_add()
authorBaokun Li <libaokun1@huawei.com>
Wed, 9 Jun 2021 07:02:42 +0000 (15:02 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 22 Jun 2021 15:16:46 +0000 (17:16 +0200)
commita55b834085c52d855fb4f7127d781e5e9922e3f1
treec54493634ae288f3a8c4a9eb7ad9ce350e910399
parent33b9075eeab3e339d4af3450c46f1e33705de1f3
clockevents: Use list_move() instead of list_del()/list_add()

Simplify the code.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210609070242.1322450-1-libaokun1@huawei.com
kernel/time/clockevents.c