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

# unregister\_netdev(9)

remove device from the kernel

## NAME

unregister\_netdev - remove device from the kernel

## SYNOPSIS

**void unregister\_netdev(struct net\_device \*** *dev***);**

## ARGUMENTS

*dev*

device

## DESCRIPTION

This function shuts down a device interface and removes it from the kernel tables.

This is just a wrapper for unregister\_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister\_netdevice.

## COPYRIGHT
