dbuf_cons: deduplicate multilist_link_init()

Remove harmless duplicate multilist_link_init() introduced by
commit d3c2ae1.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Chris Dunlop <chris@onthe.net.au>
Closes #6552
This commit is contained in:
chrisrd 2017-08-25 03:31:59 +10:00 committed by Brian Behlendorf
parent d7323e79a6
commit 2fb1a234ab

View File

@ -167,7 +167,6 @@ dbuf_cons(void *vdb, void *unused, int kmflag)
cv_init(&db->db_changed, NULL, CV_DEFAULT, NULL); cv_init(&db->db_changed, NULL, CV_DEFAULT, NULL);
multilist_link_init(&db->db_cache_link); multilist_link_init(&db->db_cache_link);
refcount_create(&db->db_holds); refcount_create(&db->db_holds);
multilist_link_init(&db->db_cache_link);
return (0); return (0);
} }