sctp: sm_statefuns: Remove pointer casts of the same type
authorLi zeming <zeming@nfschina.com>
Tue, 15 Nov 2022 02:07:05 +0000 (10:07 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 17 Nov 2022 12:04:37 +0000 (13:04 +0100)
commitb0798310f84c97d91e02c950d54677cad91ec5dd
tree53bec2b7a4fd55f009f86f6984f2f35409ede196
parentd82303df06481235fe7cbaf605075e0c2c87e99b
sctp: sm_statefuns: Remove pointer casts of the same type

The subh.addip_hdr pointer is also of type (struct sctp_addiphdr *), so
it does not require a cast.

Signed-off-by: Li zeming <zeming@nfschina.com>
Link: https://lore.kernel.org/r/20221115020705.3220-1-zeming@nfschina.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/sctp/sm_statefuns.c