]> Pileus Git - ~andy/linux/commit
staging: gdm72xx: use list_move instead of list_del/list_add
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 6 Sep 2012 04:36:49 +0000 (12:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 16:25:22 +0000 (09:25 -0700)
commit73295fe185e58b8c0b288fee61a8a994015ab4b2
tree3a70c9c559f2c4774c43f36e640c594547e6ad82
parent84bda909312a5df79cddad875ea6b468cf18da03
staging: gdm72xx: 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/gdm72xx/gdm_usb.c