'\" t
.\"     Title: unregister_netdev
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: June 2017
.\"    Manual: Network device support
.\"    Source: Kernel Hackers Manual 4.9.30
.\"  Language: English
.\"
.TH "UNREGISTER_NETDEV" "9" "June 2017" "Kernel Hackers Manual 4\&.9\&." "Network device support"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
unregister_netdev \- remove device from the kernel
.SH "SYNOPSIS"
.HP \w'void\ unregister_netdev('u
.BI "void unregister_netdev(struct\ net_device\ *\ " "dev" ");"
.SH "ARGUMENTS"
.PP
\fIdev\fR
.RS 4
device
.RE
.SH "DESCRIPTION"
.PP
This function shuts down a device interface and removes it from the kernel tables\&.
.PP
This is just a wrapper for unregister_netdevice that takes the rtnl semaphore\&. In general you want to use this and not unregister_netdevice\&.
.SH "COPYRIGHT"
.br
