diff options
| author | Takashi Iwai <[email protected]> | 2015-02-04 13:38:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-02-05 08:31:12 +0000 |
| commit | 27b917e54bed7156c2b0249969ace34a5f585626 (patch) | |
| tree | 5a54f17e61dfbe649e5922af19ad61867850369e /drivers/net/xen-netback/interface.c | |
| parent | tun: Use static attribute groups for sysfs entries (diff) | |
| download | kernel-27b917e54bed7156c2b0249969ace34a5f585626.tar.gz kernel-27b917e54bed7156c2b0249969ace34a5f585626.zip | |
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 <[email protected]>
Acked-by: David Vrabel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
