commit | 191a7221b70d7fa7005404f508e1802f6556ba78 | [log] [tgz] |
---|---|---|
author | Yang Li <[email protected]> | Wed Feb 24 12:02:55 2021 -0800 |
committer | Linus Torvalds <[email protected]> | Wed Feb 24 13:38:28 2021 -0800 |
tree | 690f41ad4336786ec8c3ddbf7995e8a93e35dfcc | |
parent | 6986c3e2b19505e9b2112fc2e548e9f99fa3021f [diff] |
mm/swap_slots.c: remove redundant NULL check Fix below warnings reported by coccicheck: mm/swap_slots.c:197:3-9: WARNING: NULL check before some freeing functions is not needed. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yang Li <[email protected]> Reported-by: Abaci Robot <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>