commit | d32f211adb6aa179c00ee1c251315d1ef1433a38 | [log] [tgz] |
---|---|---|
author | Yang Yingliang <yangyingliang@huawei.com> | Mon Oct 17 16:55:08 2022 +0800 |
committer | Steve French <stfrench@microsoft.com> | Tue Oct 18 11:33:43 2022 -0500 |
tree | bfa811d75d68db6ab0cade623147ce606e9c8dfe | |
parent | 10269f13257d4eb6061d09ccce61666316df9838 [diff] |
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>