---
name: "unregister_netdevice"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/unregister_netdevice"
---

# unregister\_netdevice(9)

remove device from the kernel

## NAME

unregister\_netdevice - remove device from the kernel

## SYNOPSIS

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

## ARGUMENTS

*dev*

device

## DESCRIPTION

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

Callers must hold the rtnl semaphore. You may want **unregister\_netdev** instead of this.

## COPYRIGHT
