diff options
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) | |||
1467 | 1467 | ||
1468 | } | 1468 | } |
1469 | 1469 | ||
1470 | DEFINE_PROTO_INUSE(udp) | ||
1471 | |||
1472 | struct proto udp_prot = { | 1470 | struct proto udp_prot = { |
1473 | .name = "UDP", | 1471 | .name = "UDP", |
1474 | .owner = THIS_MODULE, | 1472 | .owner = THIS_MODULE, |
@@ -1496,7 +1494,6 @@ struct proto udp_prot = { | |||
1496 | .compat_setsockopt = compat_udp_setsockopt, | 1494 | .compat_setsockopt = compat_udp_setsockopt, |
1497 | .compat_getsockopt = compat_udp_getsockopt, | 1495 | .compat_getsockopt = compat_udp_getsockopt, |
1498 | #endif | 1496 | #endif |
1499 | REF_PROTO_INUSE(udp) | ||
1500 | }; | 1497 | }; |
1501 | 1498 | ||
1502 | /* ------------------------------------------------------------------------ */ | 1499 | /* ------------------------------------------------------------------------ */ |