Skip to contentSkip to conversation

fs/quota: remove unused macro

PATCH In review Alex Shi 2 participants 2 messages Jan 21, 2020 Diskquota

lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 fs/quota: remove unused macro

__QUOTA_V2_PARANOIA macro is never used. better to remove it.

---
 fs/quota/quota_v2.c | 2 --
 1 file changed, 2 deletions(-)
fs/quota/quota_v2.c +0 -2
index 53429c29c784..58fc2a7c7fd1 100644
@@ -22,8 +22,6 @@
 MODULE_DESCRIPTION("Quota format v2 support");
 MODULE_LICENSE("GPL");
 
-#define __QUOTA_V2_PARANOIA
-
 static void v2r0_mem2diskdqb(void *dp, struct dquot *dquot);
 static void v2r0_disk2memdqb(struct dquot *dquot, void *dp);
 static int v2r0_is_id(void *dp, struct dquot *dquot);
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 5 lines · Alex Shi

__QUOTA_V2_PARANOIA macro is never used. better to remove it.

Thanks. I've merged the patch.

Honza

Quoted 20 lines
---
 fs/quota/quota_v2.c | 2 --
 1 file changed, 2 deletions(-)
fs/quota/quota_v2.c +0 -2
index 53429c29c784..58fc2a7c7fd1 100644
@@ -22,8 +22,6 @@
 MODULE_DESCRIPTION("Quota format v2 support");
 MODULE_LICENSE("GPL");
 
-#define __QUOTA_V2_PARANOIA
-
 static void v2r0_mem2diskdqb(void *dp, struct dquot *dquot);
 static void v2r0_disk2memdqb(struct dquot *dquot, void *dp);
 static int v2r0_is_id(void *dp, struct dquot *dquot);
Signature · 1 line
1.8.3.1
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR