diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2026-03-18 07:38:49 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-04-05 23:53:31 +0300 |
| commit | 42561b341baae400ebd28540cdda7a6295eaf2a3 (patch) | |
| tree | cb3b21f6c64bacbc818e18451d97dd26ef52a33d | |
| parent | 01494f713ee315e0aa2ddfe2f2760fd83c417e35 (diff) | |
| download | linux-42561b341baae400ebd28540cdda7a6295eaf2a3.tar.xz | |
mm/swapfile: remove duplicate include of swap_table.h
Remove duplicate inclusion of swap_table.h in swapfile.c to clean up
redundant code.
Link: https://lkml.kernel.org/r/20260318043849.399266-1-nichen@iscas.ac.cn
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Baoquan He <bhe@redhat.com>
Cc: Barry Song <baohua@kernel.org>
Cc: Chris Li <chrisl@kernel.org>
Cc: Kairui Song <kasong@tencent.com>
Cc: Kemeng Shi <shikemeng@huaweicloud.com>
Cc: Nhat Pham <nphamcs@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
| -rw-r--r-- | mm/swapfile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c index 71a7d6959f3e..802332850e24 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -48,7 +48,6 @@ #include <linux/swap_cgroup.h> #include "swap_table.h" #include "internal.h" -#include "swap_table.h" #include "swap.h" static void swap_range_alloc(struct swap_info_struct *si, |
