remove obseleted validation of key
Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
parent
f361bfa5fc
commit
df0292c3af
1 changed files with 1 additions and 2 deletions
|
@ -158,8 +158,7 @@ static void ubusd_send_obj(struct ubus_client *cl, struct ubus_msg_buf *ub, stru
|
|||
|
||||
blob_buf_init(&b, 0);
|
||||
|
||||
if (obj->path.key)
|
||||
blob_put_string(&b, UBUS_ATTR_OBJPATH, obj->path.key);
|
||||
blob_put_string(&b, UBUS_ATTR_OBJPATH, obj->path.key);
|
||||
blob_put_int32(&b, UBUS_ATTR_OBJID, obj->id.id);
|
||||
blob_put_int32(&b, UBUS_ATTR_OBJTYPE, obj->type->id.id);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue