linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] quota: minor code cleanup for v1_format_ops
@ 2019-10-10 13:09 Chengguang Xu
  2019-10-17  8:30 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Chengguang Xu @ 2019-10-10 13:09 UTC (permalink / raw)
  To: jack; +Cc: linux-kernel, Chengguang Xu

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

Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
---
 fs/quota/quota_v1.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/quota/quota_v1.c b/fs/quota/quota_v1.c
index c740e5572eb8..cd92e5fa0062 100644
--- a/fs/quota/quota_v1.c
+++ b/fs/quota/quota_v1.c
@@ -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,
 };
-- 
2.21.0




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] quota: minor code cleanup for v1_format_ops
  2019-10-10 13:09 [PATCH] quota: minor code cleanup for v1_format_ops Chengguang Xu
@ 2019-10-17  8:30 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2019-10-17  8:30 UTC (permalink / raw)
  To: Chengguang Xu; +Cc: Jan Kara, linux-kernel

On Thu 10-10-19 21:09:24, Chengguang Xu wrote:
> It's not a functinal change, it's just for keeping
> consistent coding style.
> 
> Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>

Thanks. Applied.

								Honza

> ---
>  fs/quota/quota_v1.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/quota/quota_v1.c b/fs/quota/quota_v1.c
> index c740e5572eb8..cd92e5fa0062 100644
> --- a/fs/quota/quota_v1.c
> +++ b/fs/quota/quota_v1.c
> @@ -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,
>  };
> -- 
> 2.21.0
> 
> 
> 
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-17  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-10 13:09 [PATCH] quota: minor code cleanup for v1_format_ops Chengguang Xu
2019-10-17  8:30 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).