diff options
author | 2022-10-17 16:55:08 +0800 | |
---|---|---|
committer | 2022-10-18 11:33:43 -0500 | |
commit | d32f211adb6aa179c00ee1c251315d1ef1433a38 (patch) | |
tree | bfa811d75d68db6ab0cade623147ce606e9c8dfe /drivers/fpga/fpga-bridge.c | |
parent | cifs: Fix xid leak in cifs_get_file_info_unix() (diff) | |
download | wireguard-linux-d32f211adb6aa179c00ee1c251315d1ef1433a38.tar.xz wireguard-linux-d32f211adb6aa179c00ee1c251315d1ef1433a38.zip |
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>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions