From 8f0f8a75b873b7983a96e904a7ea1a909d7030e1 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 13 May 2024 01:22:47 +0000 Subject: [PATCH] remove unneeded extern and struct; ok patrick@ --- sys/dev/pci/igc_hw.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/sys/dev/pci/igc_hw.h b/sys/dev/pci/igc_hw.h index c1ad011133c..6cc2b3cebcb 100644 --- a/sys/dev/pci/igc_hw.h +++ b/sys/dev/pci/igc_hw.h @@ -1,4 +1,4 @@ -/* $OpenBSD: igc_hw.h,v 1.2 2022/05/11 06:14:15 kevlo Exp $ */ +/* $OpenBSD: igc_hw.h,v 1.3 2024/05/13 01:22:47 jsg Exp $ */ /*- * Copyright 2021 Intel Corp * Copyright 2021 Rubicon Communications, LLC (Netgate) @@ -260,15 +260,6 @@ struct igc_nvm_operations { int (*write)(struct igc_hw *, uint16_t, uint16_t, uint16_t *); }; -struct igc_info { - int (*get_invariants)(struct igc_hw *hw); - struct igc_mac_operations *mac_ops; - const struct igc_phy_operations *phy_ops; - struct igc_nvm_operations *nvm_ops; -}; - -extern const struct igc_info igc_i225_info; - struct igc_mac_info { struct igc_mac_operations ops; uint8_t addr[ETHER_ADDR_LEN]; -- 2.20.1