diff options
Diffstat (limited to 'net/ipv4/ip_output.c')
-rw-r--r-- | net/ipv4/ip_output.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 1bfa49eda96f..9de83e6e0f1d 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c | |||
@@ -1328,23 +1328,8 @@ void ip_send_reply(struct sock *sk, struct sk_buff *skb, struct ip_reply_arg *ar | |||
1328 | ip_rt_put(rt); | 1328 | ip_rt_put(rt); |
1329 | } | 1329 | } |
1330 | 1330 | ||
1331 | /* | ||
1332 | * IP protocol layer initialiser | ||
1333 | */ | ||
1334 | |||
1335 | static struct packet_type ip_packet_type = { | ||
1336 | .type = __constant_htons(ETH_P_IP), | ||
1337 | .func = ip_rcv, | ||
1338 | }; | ||
1339 | |||
1340 | /* | ||
1341 | * IP registers the packet type and then calls the subprotocol initialisers | ||
1342 | */ | ||
1343 | |||
1344 | void __init ip_init(void) | 1331 | void __init ip_init(void) |
1345 | { | 1332 | { |
1346 | dev_add_pack(&ip_packet_type); | ||
1347 | |||
1348 | ip_rt_init(); | 1333 | ip_rt_init(); |
1349 | inet_initpeers(); | 1334 | inet_initpeers(); |
1350 | 1335 | ||