VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Chengguang Xu <cgxu519@mykernel.net> 2020-05-22 12:40:35 +0800 committer: Jan Kara <jack@suse.cz> 2020-05-22 15:11:00 +0200 commit: 91a087153d9db2aaabd4fddcb3fa12fa10168136 parent: 8939a3af5c08daca7914c53d9f99c222569b6509
Commit Summary:
ext2: code cleanup by removing ifdef macro surrounding
Diffstat:
1 file changed, 0 insertions, 4 deletions
diff --git a/fs/ext2/symlink.c b/fs/ext2/symlink.c
index 00cdb8679486..948d3a441403 100644
--- a/fs/ext2/symlink.c
+++ b/fs/ext2/symlink.c
@@ -25,16 +25,12 @@ const struct inode_operations ext2_symlink_inode_operations = {
 	.get_link	= page_get_link,
 	.getattr	= ext2_getattr,
 	.setattr	= ext2_setattr,
-#ifdef CONFIG_EXT2_FS_XATTR
 	.listxattr	= ext2_listxattr,
-#endif
 };
  
 const struct inode_operations ext2_fast_symlink_inode_operations = {
 	.get_link	= simple_get_link,
 	.getattr	= ext2_getattr,
 	.setattr	= ext2_setattr,
-#ifdef CONFIG_EXT2_FS_XATTR
 	.listxattr	= ext2_listxattr,
-#endif
 };