net: make queue attributes ro_after_init
authorstephen hemminger <stephen@networkplumber.org>
Fri, 18 Aug 2017 20:46:26 +0000 (13:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Aug 2017 05:38:46 +0000 (22:38 -0700)
commit2b9c758129d7eb2d709291426004e5a8efcba19f
treebf270522e52a601cc210586397555e8d3c5f8730
parent170c658afc43c2d18a167783824f4e122a07abd2
net: make queue attributes ro_after_init

The XPS queue attributes can be ro_after_init.
Also use __ATTR_RX macros to simplify initialization.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c