cifs: use LIST_HEAD() and list_move() to simplify code
list_head can be initialized automatically with LIST_HEAD() instead of calling INIT_LIST_HEAD(). Using list_move() instead of list_del() and list_add(). Reviewed-by:Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Steve French <stfrench@microsoft.com>
Showing
Please register or sign in to comment