do not report an error unnecessarily

This commit is contained in:
Luigi Rizzo 2010-03-08 11:22:47 +00:00
parent 91ee765659
commit b854138d5f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204862

View File

@ -1485,6 +1485,7 @@ config_sched(struct dn_sch *_nsch, struct dn_id *arg)
/* sched config shouldn't modify the FIFO scheduler */
if (dn_ht_find(dn_cfg.schedhash, i, 0, &a) != NULL) {
/* FIFO already exist, don't touch it */
err = 0; /* and this is not an error */
goto error;
}
}