mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[SOCK]: Drop inuse pcounter from struct proto (v2).
An uppercut - do not use the pcounter on struct proto. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
60e7663d46
commit
bdcde3d71a
12 changed files with 0 additions and 41 deletions
|
@ -1171,8 +1171,6 @@ static int rawv6_init_sk(struct sock *sk)
|
|||
return(0);
|
||||
}
|
||||
|
||||
DEFINE_PROTO_INUSE(rawv6)
|
||||
|
||||
struct proto rawv6_prot = {
|
||||
.name = "RAWv6",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -1196,7 +1194,6 @@ struct proto rawv6_prot = {
|
|||
.compat_setsockopt = compat_rawv6_setsockopt,
|
||||
.compat_getsockopt = compat_rawv6_getsockopt,
|
||||
#endif
|
||||
REF_PROTO_INUSE(rawv6)
|
||||
};
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue