Skip to content
Commit 27b917e5 authored by Takashi Iwai's avatar Takashi Iwai Committed by David S. Miller
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c4d33e24
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment