diff options
| author | Sudeep Holla <sudeep.holla@arm.com> | 2020-09-01 13:33:35 +0300 |
|---|---|---|
| committer | Jens Wiklander <jens.wiklander@linaro.org> | 2020-09-18 11:44:45 +0300 |
| commit | 8c05f50fe8452f9d3220efad77bef42c7b498193 (patch) | |
| tree | 7adb2df26c08b39293d3872017d6d62813dbaf90 /net/unix/sysctl_net_unix.c | |
| parent | ab3d8e1baaee4b167cc99120f640ee4de6d05d50 (diff) | |
| download | linux-8c05f50fe8452f9d3220efad77bef42c7b498193.tar.xz | |
tee: avoid explicit sysfs_create/delete_group by initialising dev->groups
If the dev->groups is initialised, the sysfs group is created as part
of device_add call. There is no need to call sysfs_create/delete_group
explicitly.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
