diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-12-13 14:08:49 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-12-17 14:08:28 +0300 |
commit | 62c6db251e667e8a240dc8209c00313240120fd6 (patch) | |
tree | 61df709ebd4a189c0182c2494cffeab2bd9e6021 /drivers/pwm/pwm-stm32.c | |
parent | 106d979b85e575b0ab10224fcde5c3eb94566e05 (diff) | |
download | linux-62c6db251e667e8a240dc8209c00313240120fd6.tar.xz |
af_unix: Clean up error paths in unix_dgram_sendmsg().
The error path is complicated in unix_dgram_sendmsg() because there
are two timings when other could be non-NULL: when it's fetched from
unix_peer_get() and when it's looked up by unix_find_other().
Let's move unix_peer_get() to the else branch for unix_find_other()
and clean up the error paths.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions