.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "UNREGISTER_NETDEV" "9" "09 October 2005" "" "" .SH NAME unregister_netdev \- remove device from the kernel .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void unregister_netdev (struct net_device * \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR device .SH "DESCRIPTION" .PP This function shuts down a device interface and removes it from the kernel tables. On success 0 is returned, on a failure a negative errno code is returned. .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.