mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
hyperv/kvp: Remove always false condition.
Reported by: PVS MFC after: 3 days Sponsored by: Microsoft
This commit is contained in:
parent
5810e45bfb
commit
1e85137841
1 changed files with 1 additions and 1 deletions
|
|
@ -516,7 +516,7 @@ hv_kvp_convert_usermsg_to_hostmsg(struct hv_kvp_msg *umsg, struct hv_kvp_msg *hm
|
|||
/* Use values by string */
|
||||
host_exchg_data->value_type = HV_REG_SZ;
|
||||
|
||||
if ((hkey_len < 0) || (hvalue_len < 0))
|
||||
if (hvalue_len < 0)
|
||||
return (EINVAL);
|
||||
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue