summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/utilities
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-10-17 06:18:10 +0000
committersephe <sephe@FreeBSD.org>2016-10-17 06:18:10 +0000
commit5ff88c505955b8f4c3f87683a9319d5af39a5ca0 (patch)
tree7c6ef246f63a95e7b2014b9f93e446e09241e915 /sys/dev/hyperv/utilities
parent04af2d53bcdb5ba4ab8de46e29119586664c52d7 (diff)
downloadFreeBSD-src-5ff88c505955b8f4c3f87683a9319d5af39a5ca0.zip
FreeBSD-src-5ff88c505955b8f4c3f87683a9319d5af39a5ca0.tar.gz
MFC 304331
hyperv/kvp: Remove unnecessary function parameter. Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7550
Diffstat (limited to 'sys/dev/hyperv/utilities')
-rw-r--r--sys/dev/hyperv/utilities/hv_kvp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/hyperv/utilities/hv_kvp.c b/sys/dev/hyperv/utilities/hv_kvp.c
index c5260ea..222383a 100644
--- a/sys/dev/hyperv/utilities/hv_kvp.c
+++ b/sys/dev/hyperv/utilities/hv_kvp.c
@@ -217,10 +217,9 @@ hv_kvp_transaction_init(hv_kvp_sc *sc, uint32_t rcv_len,
* hv_kvp - version neogtiation function
*/
static void
-hv_kvp_negotiate_version(struct hv_vmbus_icmsg_hdr *icmsghdrp,
- struct hv_vmbus_icmsg_negotiate *negop,
- uint8_t *buf)
+hv_kvp_negotiate_version(struct hv_vmbus_icmsg_hdr *icmsghdrp, uint8_t *buf)
{
+ struct hv_vmbus_icmsg_negotiate *negop;
int icframe_vercnt;
int icmsg_vercnt;
@@ -641,7 +640,7 @@ hv_kvp_process_request(void *context, int pending)
hv_kvp_transaction_init(sc, recvlen, requestid, kvp_buf);
if (icmsghdrp->icmsgtype == HV_ICMSGTYPE_NEGOTIATE) {
- hv_kvp_negotiate_version(icmsghdrp, NULL, kvp_buf);
+ hv_kvp_negotiate_version(icmsghdrp, kvp_buf);
hv_kvp_respond_host(sc, ret);
/*
OpenPOWER on IntegriCloud