Skip to contentSkip to conversation

quota: minor code cleanup for v1_format_ops

PATCH In review Chengguang Xu 2 participants 2 messages Oct 10, 2019 – Oct 17, 2019 Diskquota

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 quota: minor code cleanup for v1_format_ops

It's not a functinal change, it's just for keeping consistent coding style.

---
 fs/quota/quota_v1.c | 1 -
 1 file changed, 1 deletion(-)
fs/quota/quota_v1.c +0 -1
index c740e5572eb8..cd92e5fa0062 100644
@@ -217,7 +217,6 @@ static const struct quota_format_ops v1_format_ops = {
 	.check_quota_file	= v1_check_quota_file,
 	.read_file_info		= v1_read_file_info,
 	.write_file_info	= v1_write_file_info,
-	.free_file_info		= NULL,
 	.read_dqblk		= v1_read_dqblk,
 	.commit_dqblk		= v1_commit_dqblk,
 };
Signature · 1 line
2.21.0
#1 lore raw
Quoted 4 lines · Chengguang Xu

It's not a functinal change, it's just for keeping consistent coding style.

Thanks. Applied.

Honza

Quoted 22 lines
---
 fs/quota/quota_v1.c | 1 -
 1 file changed, 1 deletion(-)
fs/quota/quota_v1.c +0 -1
index c740e5572eb8..cd92e5fa0062 100644
@@ -217,7 +217,6 @@ static const struct quota_format_ops v1_format_ops = {
 	.check_quota_file	= v1_check_quota_file,
 	.read_file_info		= v1_read_file_info,
 	.write_file_info	= v1_write_file_info,
-	.free_file_info		= NULL,
 	.read_dqblk		= v1_read_dqblk,
 	.commit_dqblk		= v1_commit_dqblk,
 };
Signature · 1 line
2.21.0
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR