diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-10-21 12:13:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-21 14:50:38 +0300 |
commit | b6b19a71c8bbde2abaa99ba29e6c76ddc84984f8 (patch) | |
tree | d509fd9b23293cc5aeeb5d75ea2acbf7b723569e /drivers/net | |
parent | bf6abf345dfa77786aca554bc58c64bd428ecb1d (diff) | |
download | linux-b6b19a71c8bbde2abaa99ba29e6c76ddc84984f8.tar.xz |
ptp: free 'vclock_index' in ptp_clock_release()
'vclock_index' is accessed from sysfs, it shouled be freed
in release function, so move it from ptp_clock_unregister()
to ptp_clock_release().
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions