diff options
author | Alexander Aring <aahringo@redhat.com> | 2021-11-30 14:47:14 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-12-07 12:42:26 -0600 |
commit | f70813d6a5fce7bde411272cfe1ab565a4254266 (patch) | |
tree | 4d604f722a7d730a910094e5c86903b189ff4001 /drivers/thunderbolt | |
parent | 1b9beda83e27a0c2cd75d1cb743c297c7b36c844 (diff) | |
download | linux-f70813d6a5fce7bde411272cfe1ab565a4254266.tar.gz linux-f70813d6a5fce7bde411272cfe1ab565a4254266.tar.bz2 linux-f70813d6a5fce7bde411272cfe1ab565a4254266.zip |
fs: dlm: use list_empty() to check last iteration
This patch will use list_empty(&ls->ls_cb_delay) to check for last list
iteration. In case of a multiply count of MAX_CB_QUEUE and the list is
empty we do a extra goto more which we can avoid by checking on
list_empty().
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions