free_netdev (9) - Linux Man Pages
free_netdev: free network device
free_netdev - free network device
void free_netdev(struct net_device
This function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed. Must be called in process context.