Skip to contentSkip to conversation

ext4: remove a useless #ifdef in super.c

PATCH In review Amerigo Wang 2 participants 2 messages Apr 6, 2011 – May 9, 2011 ext4 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ext4: remove a useless #ifdef in super.c

There is already an #ifdef CONFIG_QUOTA some lines above, so this one is totally useless.

---

fs/ext4/super.c +0 -2
index 22546ad..a5a73ac 100644
@@ -1170,9 +1170,7 @@ static ssize_t ext4_quota_write(struct super_block *sb, int type,
 				const char *data, size_t len, loff_t off);
 
 static const struct dquot_operations ext4_quota_operations = {
-#ifdef CONFIG_QUOTA
 	.get_reserved_space = ext4_get_reserved_space,
-#endif
 	.write_dquot	= ext4_write_dquot,
 	.acquire_dquot	= ext4_acquire_dquot,
 	.release_dquot	= ext4_release_dquot,
maintainer
#1 lore raw
Quoted 4 lines · Amerigo Wang

There is already an #ifdef CONFIG_QUOTA some lines above, so this one is totally useless.

Thanks, added to the ext4 tree.

- Ted