]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: use list_move instead of list_del/list_add in nfp_cppcore.c
authorBaokun Li <libaokun1@huawei.com>
Wed, 9 Jun 2021 07:09:21 +0000 (15:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jun 2021 20:55:37 +0000 (13:55 -0700)
commitcec427aa836c26ff5197c0fbd537aed03d933dd5
treed0204ea251f4d06fbb7815d75c3057a0911f3e16
parentb9e4f41d2f1f041833dbaf0562551990d25360f1
nfp: use list_move instead of list_del/list_add in nfp_cppcore.c

Using list_move() instead of list_del() + list_add() in nfp_cppcore.c.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c