]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit504a61629f5069644c15678cd4f66b7fb0347536
tree81a5d9446d7fb8e1385e445c0ee57789d4e6653a
parenta8c67e25478e09c04e2e1753f686863e8a78a54f
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