xfs: remove duplicate ifdefs
authorShrikanth Hegde <sshegde@linux.ibm.com>
Mon, 22 Jan 2024 17:49:02 +0000 (23:19 +0530)
committerChandan Babu R <chandanbabu@kernel.org>
Sat, 17 Feb 2024 04:02:32 +0000 (09:32 +0530)
commit0164defd0d8665d1579dd802457da5e22d35559f
tree665f2f79ee1b0b7e2b72c6fd164d4bc534eca35b
parent1149314a16f7972743c66988b2ac19767009325e
xfs: remove duplicate ifdefs

when a ifdef is used in the below manner, second one could be considered as
duplicate.

ifdef DEFINE_A
...code block...
ifdef DEFINE_A
...code block...
endif
...code block...
endif

In the xfs code two such patterns were seen. Hence removing these ifdefs.
No functional change is intended here. It only aims to improve code
readability.

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/xfs_sysfs.c