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 /module/zfs/dbuf.c | |
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 'module/zfs/dbuf.c')
-rw-r--r-- | module/zfs/dbuf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index d2e65dd9c..173e1dbb8 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -78,12 +78,10 @@ uint_t zfs_dbuf_evict_key; static boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx); static void dbuf_write(dbuf_dirty_record_t *dr, arc_buf_t *data, dmu_tx_t *tx); -#ifndef __lint extern inline void dmu_buf_init_user(dmu_buf_user_t *dbu, dmu_buf_evict_func_t *evict_func_sync, dmu_buf_evict_func_t *evict_func_async, dmu_buf_t **clear_on_evict_dbufp); -#endif /* ! __lint */ /* * Global data structures and functions for the dbuf cache. |