2018-03-16 13:44:47

by Ritesh Harjani

[permalink] [raw]
Subject: [PATCH] quota: Kill an unused extern entry form quota.h

Kill an unused extern entry from quota.h
which is leftover of below patch.

[f32764bd2: quota: Convert quota statistics to generic percpu_counter]

Signed-off-by: Ritesh Harjani <[email protected]>
---
include/linux/quota.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/quota.h b/include/linux/quota.h
index 5ac9de4..ca9772c 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -267,7 +267,6 @@ struct dqstats {
struct percpu_counter counter[_DQST_DQSTAT_LAST];
};

-extern struct dqstats *dqstats_pcpu;
extern struct dqstats dqstats;

static inline void dqstats_inc(unsigned int type)
--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.



2018-03-26 11:12:27

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH] quota: Kill an unused extern entry form quota.h

On Fri 16-03-18 19:13:02, Ritesh Harjani wrote:
> Kill an unused extern entry from quota.h
> which is leftover of below patch.
>
> [f32764bd2: quota: Convert quota statistics to generic percpu_counter]
>
> Signed-off-by: Ritesh Harjani <[email protected]>

Thanks. Added to my tree.

Honza


> ---
> include/linux/quota.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/quota.h b/include/linux/quota.h
> index 5ac9de4..ca9772c 100644
> --- a/include/linux/quota.h
> +++ b/include/linux/quota.h
> @@ -267,7 +267,6 @@ struct dqstats {
> struct percpu_counter counter[_DQST_DQSTAT_LAST];
> };
>
> -extern struct dqstats *dqstats_pcpu;
> extern struct dqstats dqstats;
>
> static inline void dqstats_inc(unsigned int type)
> --
> Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.
>
>
--
Jan Kara <[email protected]>
SUSE Labs, CR