mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
net: constify struct net_protocol
Remove long removed "inet_protocol_base" declaration. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e4c57d0f96
commit
32613090a9
14 changed files with 27 additions and 32 deletions
|
@ -924,7 +924,7 @@ static struct inet_protosw sctp_stream_protosw = {
|
|||
};
|
||||
|
||||
/* Register with IP layer. */
|
||||
static struct net_protocol sctp_protocol = {
|
||||
static const struct net_protocol sctp_protocol = {
|
||||
.handler = sctp_rcv,
|
||||
.err_handler = sctp_v4_err,
|
||||
.no_policy = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue