[PATCH AUTOSEL for 4.9 117/156] ppp: Destroy the mutex when cleanup

2017-12-07 Thread alexander . levin
From: Gao Feng [ 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

[PATCH AUTOSEL for 4.9 117/156] ppp: Destroy the mutex when cleanup

2017-12-07 Thread alexander . levin
From: Gao Feng [ 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 Acked-by: Guillaume Nault