diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2022-10-17 16:55:08 +0800 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2022-10-18 11:33:43 -0500 |
| commit | d32f211adb6aa179c00ee1c251315d1ef1433a38 (patch) | |
| tree | bfa811d75d68db6ab0cade623147ce606e9c8dfe /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | cifs: Fix xid leak in cifs_get_file_info_unix() (diff) | |
| download | linux-d32f211adb6aa179c00ee1c251315d1ef1433a38.tar.gz 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 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
