remove some duplication
This commit is contained in:
parent
37e914937b
commit
27a16f8b1d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ static struct ubus_msg_buf *ubus_reply_from_blob(struct ubus_msg_buf *ub, bool s
|
||||||
{
|
{
|
||||||
struct ubus_msg_buf *new;
|
struct ubus_msg_buf *new;
|
||||||
|
|
||||||
new = ubus_msg_new(b.head, blob_raw_len(b.head), shared);
|
new = ubus_msg_from_blob(shared);
|
||||||
if (!new)
|
if (!new)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue