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 adapter->msix_mem.
details: https://anonhg.NetBSD.org/src/rev/b0ac37cf6c21
branches: trunk
changeset: 366540:b0ac37cf6c21
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon May 30 05:08:17 2022 +0000
description:
Remove unused adapter->msix_mem.
diffstat:
sys/dev/pci/ixgbe/ixgbe.h | 3 +--
sys/dev/pci/ixgbe/ixv.c | 5 ++---
2 files changed, 3 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r b79d92d0d1fc -r b0ac37cf6c21 sys/dev/pci/ixgbe/ixgbe.h
--- a/sys/dev/pci/ixgbe/ixgbe.h Mon May 30 05:07:38 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.h Mon May 30 05:08:17 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.h,v 1.85 2022/03/10 04:14:34 msaitoh Exp $ */
+/* $NetBSD: ixgbe.h,v 1.86 2022/05/30 05:08:17 msaitoh Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@@ -479,7 +479,6 @@
struct if_percpuq *ipq; /* softint-based input queues */
struct resource *pci_mem;
- struct resource *msix_mem;
/* NetBSD: Interrupt resources are in osdep */
diff -r b79d92d0d1fc -r b0ac37cf6c21 sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c Mon May 30 05:07:38 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c Mon May 30 05:08:17 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixv.c,v 1.180 2022/04/25 07:57:23 msaitoh Exp $ */
+/* $NetBSD: ixv.c,v 1.181 2022/05/30 05:08:17 msaitoh Exp $ */
/******************************************************************************
@@ -35,7 +35,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/if_ixv.c 331224 2018-03-19 20:55:05Z erj $*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixv.c,v 1.180 2022/04/25 07:57:23 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixv.c,v 1.181 2022/05/30 05:08:17 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -3551,7 +3551,6 @@
return -1;
}
- adapter->msix_mem = (void *)1; /* XXX */
aprint_normal_dev(dev,
"Using MSI-X interrupts with %d vectors\n", msgs);
adapter->num_queues = queues;
Home |
Main Index |
Thread Index |
Old Index