summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-02-04 14:38:55 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-05 00:31:12 -0800
commit27b917e54bed7156c2b0249969ace34a5f585626 (patch)
tree5a54f17e61dfbe649e5922af19ad61867850369e /drivers/net/tun.c
parentc4d33e24b650e3fc3659b8fafe3e88ead731b658 (diff)
downloadop-kernel-dev-27b917e54bed7156c2b0249969ace34a5f585626.zip
op-kernel-dev-27b917e54bed7156c2b0249969ace34a5f585626.tar.gz
xen-netfront: Use static attribute groups for sysfs entries
Instead of manual calls of device_create_file() and device_remove_files(), assign the static attribute groups to netdev groups array. This simplifies the code and avoids the possible races. Signed-off-by: Takashi Iwai <tiwai@suse.de> Acked-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud