diff options
author | Gao Feng <gfree.wind@vip.163.com> | 2017-10-31 18:25:37 +0800 |
---|---|---|
committer | Sasha Levin <alexander.levin@microsoft.com> | 2018-01-17 12:55:38 -0500 |
commit | 2b3e37c146695fa8b0f7747e75b64ef807a36f48 (patch) | |
tree | b7c656f8b6d3a2bb3c36ec42170cac6b1fe1b0f7 /fs | |
parent | 350e8cd3ccd99691d51da10a79d6954740fa9b09 (diff) |
ppp: Destroy the mutex when cleanup
[ Upstream commit f02b2320b27c16b644691267ee3b5c110846f49e ]
The mutex_destroy only makes sense when enable DEBUG_MUTEX. For the
good readbility, it's better to invoke it in exit func when the init
func invokes mutex_init.
Signed-off-by: Gao Feng <gfree.wind@vip.163.com>
Acked-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions