delta: simplify uci_load_delta() by using a helper
authorRafał Miłecki <rafal@milecki.pl>
Tue, 16 Aug 2022 11:57:44 +0000 (13:57 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Sun, 28 Aug 2022 11:05:20 +0000 (13:05 +0200)
commitf49a2fdc4fb4a3bc95c228ade38332685197210f
treef0e6e9fe3ea3d0dbe33785cce506341d856c54cf
parent5de3871898e1ef4aec773e4dc9dc18acf52acee4
delta: simplify uci_load_delta() by using a helper

In the commit 3c7f3556b0039 ("Fix delta path handling.")
uci_load_delta() was modified by open coding uci_load_delta_file(). It
seems that reason behind it was to avoid uci_parse_delta(). The same can
be achieved by passing NULL as "struct uci_package *p" argument.

Cc: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
delta.c