remove unneeded extern and struct; ok patrick@
authorjsg <jsg@openbsd.org>
Mon, 13 May 2024 01:22:47 +0000 (01:22 +0000)
committerjsg <jsg@openbsd.org>
Mon, 13 May 2024 01:22:47 +0000 (01:22 +0000)
sys/dev/pci/igc_hw.h

index c1ad011..6cc2b3c 100644 (file)
@@ -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];