zebra: Remove duplicate updation of msg_type

Signed-off-by: Spoorthi K <spk@redhat.com>
This commit is contained in:
Spoorthi K 2022-10-29 23:25:03 +05:30
parent 2315c105de
commit a3c9412b9d

View File

@ -899,7 +899,6 @@ static inline int zfpm_encode_route(rib_dest_t *dest, struct route_entry *re,
len = zfpm_netlink_encode_route(cmd, dest, re, in_buf,
in_buf_len);
assert(fpm_msg_align(len) == len);
*msg_type = FPM_MSG_TYPE_NETLINK;
#endif /* HAVE_NETLINK */
break;