[NET]: Simplify netdev_sysfs_xxx if SYSFS is not configured.
Don't need all the network sysfs code if CONFIG_SYSFS is not enabled. Also: * netdev_sysfs_unregister is declaration mismatch * if netdev_sysfs_register fails print a warning. Need to still mark it as registered so the unregister_netdevice works, but we will probably end up leaking memory in that case.
Showing
Please register or sign in to comment