Skip to contentSkip to conversation

quota: Kill an unused extern entry form quota.h

PATCH In review Ritesh Harjani 2 participants 2 messages Mar 16, 2018 – Mar 26, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---
 include/linux/quota.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/quota.h +0 -1
index 5ac9de4..ca9772c 100644
@@ -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)
Signature · 2 lines
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.
reviewer
#1 lore raw
Quoted 6 lines · Ritesh Harjani

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

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

Thanks. Added to my tree.

Honza

Quoted 21 lines
---
 include/linux/quota.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/quota.h +0 -1
index 5ac9de4..ca9772c 100644
@@ -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)
Signature · 2 lines
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.
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR