• Stephen Hemminger's avatar
    [NET]: Simplify netdev_sysfs_xxx if SYSFS is not configured. · bc368e8f
    Stephen Hemminger authored
    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.
    bc368e8f
Makefile 474 Bytes