diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-05-17 14:29:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-15 17:14:36 +0200 |
commit | a7f1d03b6046cf44f1dd702aeaad3b5e4d7b33a5 (patch) | |
tree | b8424089754650db68bf8f4e6bd9944d7865b815 /crypto/camellia_generic.c | |
parent | devres: Use list_for_each_safe_from() in remove_nodes() (diff) | |
download | linux-a7f1d03b6046cf44f1dd702aeaad3b5e4d7b33a5.tar.xz linux-a7f1d03b6046cf44f1dd702aeaad3b5e4d7b33a5.zip |
devres: No need to call remove_nodes() when there none present
If a list of devres nodes is empty, no need to call remove_nodes().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210517122946.53161-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/camellia_generic.c')
0 files changed, 0 insertions, 0 deletions