ptp: use list_move instead of list_del/list_add
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 7 Oct 2012 03:41:50 +0000 (03:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Oct 2012 18:52:14 +0000 (14:52 -0400)
commit9545f4e2beb1b4faae5b57250f18b0047fa191fc
tree81a5d9446d7fb8e1385e445c0ee57789d4e6653a
parentd717f14ee0ffb53cb59bd069a33ea36d03a5406e
ptp: use list_move instead of list_del/list_add

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

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ptp.c