diff options
author | Giuseppe Di Natale <[email protected]> | 2017-02-01 16:47:04 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-01 16:47:04 -0800 |
commit | fc386db1916dd946512d9b965d4d354582be1f9e (patch) | |
tree | ac1c2df25812abdeb8526378453928fe7feba097 /cmd | |
parent | 8eecd4a2de217b3f7a40982dcf7765bc0c4104ba (diff) |
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 <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Giuseppe Di Natale <[email protected]>
Closes #5722
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/zdb/zdb.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index cc4b0340f..882fbae95 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -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]; |