iommu/exynos: use list_del_init instead of list_del/INIT_LIST_HEAD
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 6 Sep 2012 04:34:09 +0000 (12:34 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 18 Sep 2012 10:44:02 +0000 (12:44 +0200)
commitf8ffcc9279f90ba3790c6dc0f01207ad6ea1c8df
tree8692c3656b58e502a01dbfde1f12e4ddb400b6d2
parent5698bd757d55b1bb87edd1a9744ab09c142abfc2
iommu/exynos: use list_del_init instead of list_del/INIT_LIST_HEAD

Using list_del_init() instead of list_del() + INIT_LIST_HEAD().

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: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/exynos-iommu.c