diff options
| author | Kemeng Shi <shikemeng@huaweicloud.com> | 2025-10-20 12:16:04 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-23 16:16:41 +0200 |
| commit | d7d942c9a182b5d26d362cb67830a77eec92f052 (patch) | |
| tree | 31cf48e685967addbbdb02d6c134bc017772df32 /include | |
| parent | 6c79b23f1c525f68fdf9b741254f79e61aca75d1 (diff) | |
| download | linux-d7d942c9a182b5d26d362cb67830a77eec92f052.tar.gz linux-d7d942c9a182b5d26d362cb67830a77eec92f052.tar.bz2 linux-d7d942c9a182b5d26d362cb67830a77eec92f052.zip | |
quota: remove unneeded return value of register_quota_format
[ Upstream commit a838e5dca63d1dc701e63b2b1176943c57485c45 ]
The register_quota_format always returns 0, simply remove unneeded return
value.
Link: https://patch.msgid.link/20240715130534.2112678-3-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Stable-dep-of: 72b7ceca857f ("fs: quota: create dedicated workqueue for quota_release_work")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/quota.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index 07071e64abf3..89a0d83ddad0 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h @@ -526,7 +526,7 @@ struct quota_info { const struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ }; -int register_quota_format(struct quota_format_type *fmt); +void register_quota_format(struct quota_format_type *fmt); void unregister_quota_format(struct quota_format_type *fmt); struct quota_module_name { |
