summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorchrisrd <[email protected]>2017-08-25 03:31:59 +1000
committerBrian Behlendorf <[email protected]>2017-08-24 10:31:59 -0700
commit2fb1a234ab6912399336c8d459b1e40f67bc823e (patch)
treeddbc9cbb3f3fce411b68dde01fa5b0692b8f0cd8 /module
parentd7323e79a61fa7c6dd0b4bbcf4e5658c4fbea3dd (diff)
dbuf_cons: deduplicate multilist_link_init()
Remove harmless duplicate multilist_link_init() introduced by commit d3c2ae1. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: loli10K <[email protected]> Signed-off-by: Chris Dunlop <[email protected]> Closes #6552
Diffstat (limited to 'module')
-rw-r--r--module/zfs/dbuf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c
index 745715861..fb490ceda 100644
--- a/module/zfs/dbuf.c
+++ b/module/zfs/dbuf.c
@@ -167,7 +167,6 @@ dbuf_cons(void *vdb, void *unused, int kmflag)
cv_init(&db->db_changed, NULL, CV_DEFAULT, NULL);
multilist_link_init(&db->db_cache_link);
refcount_create(&db->db_holds);
- multilist_link_init(&db->db_cache_link);
return (0);
}