bnx2x: use list_move instead of list_del/list_add
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Mar 2013 04:40:14 +0000 (04:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 12:04:08 +0000 (08:04 -0400)
commit3a918f4036f5c4689a091c2b9affcca2066803ee
tree303f693555b309c07291e262ba8bed616878678d
parent2e3a118f82a64f55a5cd0b44b6c00a884cad4ff9
bnx2x: use list_move instead of list_del/list_add

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c