staging: fsl-mc: use list_del_init instead of list_del/INIT_LIST_HEAD
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 15 Sep 2016 02:27:04 +0000 (02:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 08:22:35 +0000 (10:22 +0200)
commit9f4feef54d97529c095f27f131f2ae6a254645fd
tree1e7725ec5095f0ee65db5491b9380f3bfaf9ba13
parent4a236d01b5e0d7e6f4ee9e6c4056fce10b38e8ad
staging: fsl-mc: use list_del_init instead of list_del/INIT_LIST_HEAD

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

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/fsl-mc-allocator.c