diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2017-08-29 11:20:33 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-30 00:34:44 +0300 |
commit | 9da10e8da3b3e126d82973e2147ba47767fb3b0e (patch) | |
tree | b04c971cf54d6ef659f2bcb1439ee8f68b11f3f2 /drivers/edac/sb_edac.c | |
parent | c51a0ef3747a412df4a7345d939190a99bc2a0cc (diff) | |
download | linux-9da10e8da3b3e126d82973e2147ba47767fb3b0e.tar.xz |
drbd: change list_for_each_safe to while(list_first_entry_or_null)
Two instances of list_for_each_safe can drop their tmp element, they
really just peel off each element in turn from the start of the list.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/edac/sb_edac.c')
0 files changed, 0 insertions, 0 deletions