---
name: "unregister_netdevice_queue"
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_netdevice_queue"
---

# unregister\_netdevice\_queue(9)

remove device from the kernel

## NAME

unregister\_netdevice\_queue - remove device from the kernel

## SYNOPSIS

**void unregister\_netdevice\_queue(struct net\_device \*** *dev***, struct list\_head \*** *head***);**

## ARGUMENTS

*dev*

device

*head*

list

## DESCRIPTION

This function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later.

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

## COPYRIGHT
