Free network device
void free_netdev(struct net_device * dev);
dev
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.