diff options
-rw-r--r-- | net/core/net-sysfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index b9641e816eee..3994680c08b9 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c | |||
@@ -499,7 +499,6 @@ int netdev_register_kobject(struct net_device *net) | |||
499 | dev->platform_data = net; | 499 | dev->platform_data = net; |
500 | dev->groups = groups; | 500 | dev->groups = groups; |
501 | 501 | ||
502 | BUILD_BUG_ON(BUS_ID_SIZE < IFNAMSIZ); | ||
503 | dev_set_name(dev, "%s", net->name); | 502 | dev_set_name(dev, "%s", net->name); |
504 | 503 | ||
505 | #ifdef CONFIG_SYSFS | 504 | #ifdef CONFIG_SYSFS |