mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Drop unused ZNODE_STATS and ZNODE_STAT_ADD()
Unused since 5649246dd3("Remove znode move functionality"), and ZNODE_STAT_ADD() will never be needed. Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com> Closes #8636
This commit is contained in:
parent
f8b2ca6b1c
commit
34d343c2a8
@ -66,20 +66,6 @@
|
||||
#include "zfs_prop.h"
|
||||
#include "zfs_comutil.h"
|
||||
|
||||
/*
|
||||
* Define ZNODE_STATS to turn on statistic gathering. By default, it is only
|
||||
* turned on when DEBUG is also defined.
|
||||
*/
|
||||
#ifdef DEBUG
|
||||
#define ZNODE_STATS
|
||||
#endif /* DEBUG */
|
||||
|
||||
#ifdef ZNODE_STATS
|
||||
#define ZNODE_STAT_ADD(stat) ((stat)++)
|
||||
#else
|
||||
#define ZNODE_STAT_ADD(stat) /* nothing */
|
||||
#endif /* ZNODE_STATS */
|
||||
|
||||
/*
|
||||
* Functions needed for userland (ie: libzpool) are not put under
|
||||
* #ifdef_KERNEL; the rest of the functions have dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user