diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2021-12-10 11:18:30 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2021-12-10 11:18:30 +0000 |
| commit | cf224b6ba0b41db4ced1c5472f1686a48e8654fc (patch) | |
| tree | c494ff49fb3319e5b1eb45e2d2cd755b30c71e40 /sys/dev | |
| parent | 51127b92c0e8a299e9ad7ca4a3ad1adef2702dda (diff) | |
Remove unused argument. Note that this file is not used in NetBSD.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/ixgbe/if_sriov.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/ixgbe/if_sriov.c b/sys/dev/pci/ixgbe/if_sriov.c index 71688179732..05af3b3bbc2 100644 --- a/sys/dev/pci/ixgbe/if_sriov.c +++ b/sys/dev/pci/ixgbe/if_sriov.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_sriov.c,v 1.11 2021/04/30 06:55:32 msaitoh Exp $ */ +/* $NetBSD: if_sriov.c,v 1.12 2021/12/10 11:18:30 msaitoh Exp $ */ /****************************************************************************** Copyright (c) 2001-2017, Intel Corporation @@ -34,7 +34,7 @@ /*$FreeBSD: head/sys/dev/ixgbe/if_sriov.c 327031 2017-12-20 18:15:06Z erj $*/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_sriov.c,v 1.11 2021/04/30 06:55:32 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_sriov.c,v 1.12 2021/12/10 11:18:30 msaitoh Exp $"); #include "ixgbe.h" #include "ixgbe_sriov.h" @@ -640,7 +640,7 @@ ixgbe_process_vf_msg(struct adapter *adapter, struct ixgbe_vf *vf) /* Tasklet for handling VF -> PF mailbox messages */ void -ixgbe_handle_mbx(void *context, int pending) +ixgbe_handle_mbx(void *context) { struct adapter *adapter = context; struct ixgbe_hw *hw; @@ -920,9 +920,9 @@ ixgbe_add_vf(device_t dev, u16 vfnum, const nvlist_t *config) #else void -ixgbe_handle_mbx(void *context, int pending) +ixgbe_handle_mbx(void *context) { - UNREFERENCED_2PARAMETER(context, pending); + UNREFERENCED_1PARAMETER(context); } /* ixgbe_handle_mbx */ inline int |
