Commit c7e98623 authored by Daniel Salzman's avatar Daniel Salzman

conf: remove redundant return check

parent 9a8a26f8
......@@ -121,12 +121,7 @@ static int init_and_check(
ret = conf->api->txn_commit(&txn);
if (ret != KNOT_EOK) {
return ret;
return KNOT_EOK;
return conf->api->txn_commit(&txn);
int conf_new(
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment