diff options
| author | Takashi Iwai <[email protected]> | 2015-02-04 13:37:34 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-02-05 08:30:47 +0000 |
| commit | c4d33e24b650e3fc3659b8fafe3e88ead731b658 (patch) | |
| tree | 6591c2d3ac17fe3961bc167bbd6195fdaae79e64 /drivers/net/xen-netback/interface.c | |
| parent | qlogic: Deletion of unnecessary checks before two function calls (diff) | |
| download | kernel-c4d33e24b650e3fc3659b8fafe3e88ead731b658.tar.gz kernel-c4d33e24b650e3fc3659b8fafe3e88ead731b658.zip | |
tun: 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]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
