---
name: "mdiobus_free"
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/mdiobus_free"
---

# mdiobus\_free(9)

free a struct mii\_bus

## NAME

mdiobus\_free - free a struct mii\_bus

## SYNOPSIS

**void mdiobus\_free(struct mii\_bus \*** *bus***);**

## ARGUMENTS

*bus*

mii\_bus to free

## DESCRIPTION

This function releases the reference to the underlying device object in the mii\_bus. If this is the last reference, the mii\_bus will be freed.

## COPYRIGHT
