diff options
author | 2023-06-27 20:08:32 +0800 | |
---|---|---|
committer | 2023-08-18 10:12:00 -0700 | |
commit | 67490031e83a008c5ce8f562e7fa3b6b83adc861 (patch) | |
tree | 810526eb0bc7c36ff7576f27802e22bfd667af2a /mm/util.c | |
parent | mm: increase usage of folio_next_index() helper (diff) | |
download | wireguard-linux-67490031e83a008c5ce8f562e7fa3b6b83adc861.tar.xz wireguard-linux-67490031e83a008c5ce8f562e7fa3b6b83adc861.zip |
swap: cleanup duplicated WARN_ON in add_to_avail_list
Patch series "fix WARN_ON in add_to_avail_list".
Empty check for plist_node is checked in add_to_avail_list and plist_add.
Drop the duplicate one in add_to_avail_list.
Link: https://lkml.kernel.org/r/20230627120833.2230766-1-mawupeng1@huawei.com
Link: https://lkml.kernel.org/r/20230627120833.2230766-2-mawupeng1@huawei.com
Signed-off-by: Ma Wupeng <mawupeng1@huawei.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions