]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Use list_move instead of list_del/list_add
authorBaokun Li <libaokun1@huawei.com>
Tue, 8 Jun 2021 03:11:08 +0000 (11:11 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 8 Jul 2021 17:02:58 +0000 (13:02 -0400)
commiteab43b6c1df43e5ef8f55040d867402daa64a7a1
tree1e012eb643039c1862c2252f31c1ebd04ea3bf87
parentf374d2bfd6a0e5115811ec91cdb3343f849a6e79
ftrace: Use list_move instead of list_del/list_add

Using list_move() instead of list_del() + list_add().

Link: https://lkml.kernel.org/r/20210608031108.2820996-1-libaokun1@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c