diff options
author | 2022-11-17 17:11:48 -0500 | |
---|---|---|
committer | 2022-11-21 09:45:49 -0600 | |
commit | dd070a56e0fa36f03bcd09fbf1521c733cf2aa21 (patch) | |
tree | 88b8ef4820613dfe92d2b3d4019af3f4e720063c /tools/perf/scripts/python | |
parent | fs: dlm: remove twice INIT_WORK (diff) | |
download | wireguard-linux-dd070a56e0fa36f03bcd09fbf1521c733cf2aa21.tar.xz wireguard-linux-dd070a56e0fa36f03bcd09fbf1521c733cf2aa21.zip |
fs: dlm: use list_first_entry_or_null
Instead of check on list_empty() we can do the same with
list_first_entry_or_null() and return NULL if the returned value is NULL.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions