diff options
author | Andy Shevchenko <[email protected]> | 2024-03-29 12:55:15 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2024-04-04 13:16:45 +0200 |
commit | e5e8a58023707472e5dbe9bc7b473a8703b401e0 (patch) | |
tree | 44ab521411d408f6a652361b9768e74aab09738e /net/unix/af_unix.c | |
parent | d303735ce5dcd79783e65a3710f7f16d14f8900a (diff) |
pinctrl: aw9523: Destroy mutex on ->remove()
If aw9523_hw_init() fails on ->remove() the mutex left alive.
Destroy it in that case as well. While at it, remove never
true check at the beginning of the function.
Signed-off-by: Andy Shevchenko <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions