summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-10-21 12:13:53 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-21 14:50:38 +0300
commitb6b19a71c8bbde2abaa99ba29e6c76ddc84984f8 (patch)
treed509fd9b23293cc5aeeb5d75ea2acbf7b723569e /drivers/net
parentbf6abf345dfa77786aca554bc58c64bd428ecb1d (diff)
downloadlinux-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