diff options
-rw-r--r-- | fs/xfs/libxfs/xfs_da_format.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_da_format.c b/fs/xfs/libxfs/xfs_da_format.c index c9aee52a37e2..7e42fdfd2f1d 100644 --- a/fs/xfs/libxfs/xfs_da_format.c +++ b/fs/xfs/libxfs/xfs_da_format.c | |||
@@ -270,7 +270,6 @@ xfs_dir3_data_get_ftype( | |||
270 | { | 270 | { |
271 | __uint8_t ftype = dep->name[dep->namelen]; | 271 | __uint8_t ftype = dep->name[dep->namelen]; |
272 | 272 | ||
273 | ASSERT(ftype < XFS_DIR3_FT_MAX); | ||
274 | if (ftype >= XFS_DIR3_FT_MAX) | 273 | if (ftype >= XFS_DIR3_FT_MAX) |
275 | return XFS_DIR3_FT_UNKNOWN; | 274 | return XFS_DIR3_FT_UNKNOWN; |
276 | return ftype; | 275 | return ftype; |