do not report an error unnecessarily
This commit is contained in:
parent
91ee765659
commit
b854138d5f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204862
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user