Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Remove unused argument. Note that this fil...



details:   https://anonhg.NetBSD.org/src/rev/a55f8c211829
branches:  trunk
changeset: 1027195:a55f8c211829
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Dec 10 11:18:30 2021 +0000

description:
Remove unused argument. Note that this file is not used in NetBSD.

diffstat:

 sys/dev/pci/ixgbe/if_sriov.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r af5ce109d398 -r a55f8c211829 sys/dev/pci/ixgbe/if_sriov.c
--- a/sys/dev/pci/ixgbe/if_sriov.c      Fri Dec 10 11:16:54 2021 +0000
+++ b/sys/dev/pci/ixgbe/if_sriov.c      Fri Dec 10 11:18:30 2021 +0000
@@ -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 @@
 
 /* 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 @@
 #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



Home | Main Index | Thread Index | Old Index