diff options
| author | Huiwen He <hehuiwen@kylinos.cn> | 2025-11-03 10:36:19 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-03 17:23:53 -0800 |
| commit | 59b20b15c112867f28a12a24aa25f14549db02e4 (patch) | |
| tree | 062fd181fa2f030ae2c1c1cdf07ddb9e50b00c9e /drivers/net/virtio_net.c | |
| parent | 5556f23478e6eb5d6a0321d4135e2c37a3c78a1e (diff) | |
sctp: make sctp_transport_init() void
sctp_transport_init() is static and never returns NULL. It is only
called by sctp_transport_new(), so change it to void and remove the
redundant return value check.
Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link: https://patch.msgid.link/20251103023619.1025622-1-hehuiwen@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions