[pnfs] [PATCH 2/5] pnfs: remove redundant ifdef

andros at umich.edu andros at umich.edu
Fri Feb 1 14:14:12 EST 2008


From: Fred Isaman <iisaman at citi.umich.edu>

Remove an ifdef/else/endif series which is located inside an ifdef.

Signed-off-by: Fred Isaman <iisaman at citi.umich.edu>
---
 fs/nfs/nfs4proc.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 1f94bf5..abf26f9 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -130,11 +130,7 @@ const u32 nfs4_pnfs_fsinfo_bitmap[2] = { FATTR4_WORD0_MAXFILESIZE
 			| FATTR4_WORD0_MAXREAD
 			| FATTR4_WORD0_MAXWRITE
 			| FATTR4_WORD0_LEASE_TIME,
-#ifdef CONFIG_PNFS
 			FATTR4_WORD1_FS_LAYOUT_TYPES
-#else /* CONFIG_PNFS */
-			0
-#endif /* CONFIG_PNFS */
 };
 #endif /* CONFIG_PNFS */
 
-- 
1.5.0.2



More information about the pNFS mailing list