diff options
| author | Pavel Emelyanov <[email protected]> | 2008-03-28 23:39:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-03-28 23:39:33 +0000 |
| commit | bdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f (patch) | |
| tree | eab4a66777582718ffe2eff9038324331106ec18 /net/ipv4/udp.c | |
| parent | [SOCK]: Drop per-proto inuse init and fre functions (v2). (diff) | |
| download | kernel-bdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f.tar.gz kernel-bdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f.zip | |
[SOCK]: Drop inuse pcounter from struct proto (v2).
An uppercut - do not use the pcounter on struct proto.
Signed-off-by: Pavel Emelyanov <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/udp.c')
| -rw-r--r-- | net/ipv4/udp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 80007c79f12f..0255f373b3e5 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1467,8 +1467,6 @@ unsigned int udp_poll(struct file *file, struct socket *sock, poll_table *wait) } -DEFINE_PROTO_INUSE(udp) - struct proto udp_prot = { .name = "UDP", .owner = THIS_MODULE, @@ -1496,7 +1494,6 @@ struct proto udp_prot = { .compat_setsockopt = compat_udp_setsockopt, .compat_getsockopt = compat_udp_getsockopt, #endif - REF_PROTO_INUSE(udp) }; /* ------------------------------------------------------------------------ */ |
