diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-12-13 20:08:40 +0900 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-12-17 12:08:27 +0100 |
commit | e26ee0a736bd949ce6fa51829fd0a2f6381391de (patch) | |
tree | 0fcc9b071f5f7c12f5a02eb056ba378797cb0306 /rust/kernel/alloc/allocator_test.rs | |
parent | 34c899af6c1a9d65aa85c765b2eecb1b9a88e8b8 (diff) |
af_unix: Clean up error paths in unix_stream_connect().
The label order is weird in unix_stream_connect(), and all NULL checks
are unnecessary if reordered.
Let's clean up the error paths to make it easy to set a drop reason
for each path.
While at it, a comment with the old style is updated.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/allocator_test.rs')
0 files changed, 0 insertions, 0 deletions