netlink: Simplify nl_msg_start_nested().
Since there is no data to copy nl_msg_put_unspec_uninit() may be used
directly, rather than via nl_msg_put_unspec().
Acked-by: Joe Stringer
@@ -454,7 +454,7 @@ size_t
nl_msg_start_nested(struct ofpbuf *msg, uint16_t type)
{
size_t offset = msg->size;
- nl_msg_put_unspec(msg, type, NULL, 0);
+ nl_msg_put_unspec_uninit(msg, type, 0);
return offset;
}
