Remove lint ifdef checks in zdb and dbuf

This is effectively dead code for the Linux implementation which can
be removed to improve readability.  We want to linter to check the
real production/debug build as much as possible.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #5722
This commit is contained in:
Giuseppe Di Natale
2017-02-01 16:47:04 -08:00
committed by Brian Behlendorf
parent 8eecd4a2de
commit fc386db191
2 changed files with 0 additions and 9 deletions
-7
View File
@@ -83,17 +83,10 @@ zdb_ot_name(dmu_object_type_t type)
return ("UNKNOWN");
}
#ifndef lint
extern int reference_tracking_enable;
extern int zfs_recover;
extern uint64_t zfs_arc_max, zfs_arc_meta_limit;
extern int zfs_vdev_async_read_max_active;
#else
int reference_tracking_enable;
int zfs_recover;
uint64_t zfs_arc_max, zfs_arc_meta_limit;
int zfs_vdev_async_read_max_active;
#endif
const char cmdname[] = "zdb";
uint8_t dump_opt[256];