diff --git a/drivers/of/base.c b/drivers/of/base.c index 260d33c0f26c9b290ec2c7f2d03237ebbad7da02..9e9bd17121fb8e40672ae114741519a0f0961077 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -169,9 +169,6 @@ int __of_attach_node_sysfs(struct device_node *np) struct property *pp; int rc; - if (!IS_ENABLED(CONFIG_SYSFS)) - return 0; - if (!of_kset) return 0;