staging: wlags49_h2: use list_move instead of list_del/list_add
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 6 Sep 2012 04:38:59 +0000 (12:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 16:25:22 +0000 (09:25 -0700)
commit84bda909312a5df79cddad875ea6b468cf18da03
tree7d6aa6897dd76b9a06417d5d7fb6f2a20d733768
parentf0290de23de19b592b2934cdf21c0c0c2eb16500
staging: wlags49_h2: use list_move instead of list_del/list_add

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

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlags49_h2/wl_netdev.c