git: 5cfacab13291 - main - Revert "Enable setting the phy id."

From: Ganbold Tsagaankhuu <ganbold_at_FreeBSD.org>
Date: Mon, 19 Dec 2022 15:20:46 UTC
The branch main has been updated by ganbold:

URL: https://cgit.FreeBSD.org/src/commit/?id=5cfacab13291a2551f145ca4a68db42d095e4a9a

commit 5cfacab13291a2551f145ca4a68db42d095e4a9a
Author:     Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
AuthorDate: 2022-12-19 15:13:46 +0000
Commit:     Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
CommitDate: 2022-12-19 15:19:57 +0000

    Revert "Enable setting the phy id."
    
    This reverts commit 6692670f58f9069e59bc0c958fdaefb9bea5f726.
---
 sys/dev/extres/phy/phy.c | 7 -------
 sys/dev/extres/phy/phy.h | 1 -
 2 files changed, 8 deletions(-)

diff --git a/sys/dev/extres/phy/phy.c b/sys/dev/extres/phy/phy.c
index e95cfdfbd4b3..0ed633ffbe41 100644
--- a/sys/dev/extres/phy/phy.c
+++ b/sys/dev/extres/phy/phy.c
@@ -210,13 +210,6 @@ intptr_t phynode_get_id(struct phynode *phynode)
 	return (phynode->id);
 }
 
-void
-phynode_set_id(struct phynode *phynode, intptr_t id)
-{
-
-	phynode->id = id;
-}
-
 #ifdef FDT
 phandle_t
 phynode_get_ofw_node(struct phynode *phynode)
diff --git a/sys/dev/extres/phy/phy.h b/sys/dev/extres/phy/phy.h
index 34ba59447257..b0e5249e4246 100644
--- a/sys/dev/extres/phy/phy.h
+++ b/sys/dev/extres/phy/phy.h
@@ -65,7 +65,6 @@ struct phynode *phynode_register(struct phynode *phynode);
 void *phynode_get_softc(struct phynode *phynode);
 device_t phynode_get_device(struct phynode *phynode);
 intptr_t phynode_get_id(struct phynode *phynode);
-void phynode_set_id(struct phynode *phynode, intptr_t id);
 int phynode_enable(struct phynode *phynode);
 int phynode_disable(struct phynode *phynode);
 int phynode_status(struct phynode *phynode, int *status);