]> git.baikalelectronics.ru Git - kernel.git/commit
platform/surface: aggregator: Use list_move_tail instead of list_del/list_add_tail...
authorBaokun Li <libaokun1@huawei.com>
Wed, 9 Jun 2021 07:24:48 +0000 (15:24 +0800)
committerHans de Goede <hdegoede@redhat.com>
Wed, 16 Jun 2021 15:47:54 +0000 (17:47 +0200)
commitb9937743e6b3afd819ece91fc004137c15093ca4
tree07171702c91c9868aed7cace91adf63c2e00a83d
parent1d13063a67cb4893de9039f77e34f4d31e04adeb
platform/surface: aggregator: Use list_move_tail instead of list_del/list_add_tail in ssh_packet_layer.c

Using list_move_tail() instead of list_del() + list_add_tail() in ssh_packet_layer.c.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20210609072448.1357524-1-libaokun1@huawei.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/aggregator/ssh_packet_layer.c