summaryrefslogtreecommitdiffstats
path: root/mm/memfd.c
diff options
context:
space:
mode:
authorYing Sun <sunying@nj.iscas.ac.cn>2023-09-06 12:50:12 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-10-04 10:32:22 -0700
commit84e8e54e2ed9d857c4e10a7e487532203385249c (patch)
tree0cca6611b574f7199f7f3e5c643bbfc13495e57e /mm/memfd.c
parent037dd8f9024bdd5540e2b66eba56c279f740b23c (diff)
downloadlinux-stable-84e8e54e2ed9d857c4e10a7e487532203385249c.tar.gz
linux-stable-84e8e54e2ed9d857c4e10a7e487532203385249c.tar.bz2
linux-stable-84e8e54e2ed9d857c4e10a7e487532203385249c.zip
mm/shmem: remove dead code can not be satisfied by "(CONFIG_SHMEM)&&(!(CONFIG_SHMEM))"
The value of “.fs_flags” in line 4608 is a dead code which will never be implemented,because its conditions of line 47 "#ifdef CONFIG_SHMEM" and line 4607 are mutually exclusive. It is recommended to delete redundant code. Link: https://lkml.kernel.org/r/20230906045012.14999-1-sunying@nj.iscas.ac.cn Signed-off-by: Ying Sun <sunying@nj.iscas.ac.cn> Suggested-by: Yanjie Ren <renyanjie01@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memfd.c')
0 files changed, 0 insertions, 0 deletions