---
name: "phy_device_remove"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/phy_device_remove"
---

# phy\_device\_remove(9)

Remove a previously registered phy device from the MDIO bus

## NAME

phy\_device\_remove - Remove a previously registered phy device from the MDIO bus

## SYNOPSIS

**void phy\_device\_remove(struct phy\_device \*** *phydev***);**

## ARGUMENTS

*phydev*

phy\_device structure to remove

## DESCRIPTION

This doesn't free the phy\_device itself, it merely reverses the effects of **phy\_device\_register**. Use **phy\_device\_free** to free the device after calling this function.

## COPYRIGHT
