Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: remove /sys/class/net/*/features

The same information and more can be obtained by using ethtool
with ETHTOOL_GFEATURES.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Michał Mirosław and committed by
David S. Miller
974151e6 fec30c33

-2
-2
net/core/net-sysfs.c
··· 100 100 NETDEVICE_SHOW(addr_len, fmt_dec); 101 101 NETDEVICE_SHOW(iflink, fmt_dec); 102 102 NETDEVICE_SHOW(ifindex, fmt_dec); 103 - NETDEVICE_SHOW(features, fmt_hex); 104 103 NETDEVICE_SHOW(type, fmt_dec); 105 104 NETDEVICE_SHOW(link_mode, fmt_dec); 106 105 ··· 311 312 __ATTR(ifalias, S_IRUGO | S_IWUSR, show_ifalias, store_ifalias), 312 313 __ATTR(iflink, S_IRUGO, show_iflink, NULL), 313 314 __ATTR(ifindex, S_IRUGO, show_ifindex, NULL), 314 - __ATTR(features, S_IRUGO, show_features, NULL), 315 315 __ATTR(type, S_IRUGO, show_type, NULL), 316 316 __ATTR(link_mode, S_IRUGO, show_link_mode, NULL), 317 317 __ATTR(address, S_IRUGO, show_address, NULL),