diff options
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r-- | net/batman-adv/main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index 8b195e63e70e..8822fad5694e 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include "gateway_client.h" | 36 | #include "gateway_client.h" |
37 | #include "bridge_loop_avoidance.h" | 37 | #include "bridge_loop_avoidance.h" |
38 | #include "distributed-arp-table.h" | 38 | #include "distributed-arp-table.h" |
39 | #include "unicast.h" | ||
40 | #include "gateway_common.h" | 39 | #include "gateway_common.h" |
41 | #include "hash.h" | 40 | #include "hash.h" |
42 | #include "bat_algo.h" | 41 | #include "bat_algo.h" |
@@ -399,7 +398,6 @@ static void batadv_recv_handler_init(void) | |||
399 | /* compile time checks for struct member offsets */ | 398 | /* compile time checks for struct member offsets */ |
400 | BUILD_BUG_ON(offsetof(struct batadv_unicast_4addr_packet, src) != 10); | 399 | BUILD_BUG_ON(offsetof(struct batadv_unicast_4addr_packet, src) != 10); |
401 | BUILD_BUG_ON(offsetof(struct batadv_unicast_packet, dest) != 4); | 400 | BUILD_BUG_ON(offsetof(struct batadv_unicast_packet, dest) != 4); |
402 | BUILD_BUG_ON(offsetof(struct batadv_unicast_frag_packet, dest) != 4); | ||
403 | BUILD_BUG_ON(offsetof(struct batadv_unicast_tvlv_packet, dst) != 4); | 401 | BUILD_BUG_ON(offsetof(struct batadv_unicast_tvlv_packet, dst) != 4); |
404 | BUILD_BUG_ON(offsetof(struct batadv_icmp_packet, dst) != 4); | 402 | BUILD_BUG_ON(offsetof(struct batadv_icmp_packet, dst) != 4); |
405 | BUILD_BUG_ON(offsetof(struct batadv_icmp_packet_rr, dst) != 4); | 403 | BUILD_BUG_ON(offsetof(struct batadv_icmp_packet_rr, dst) != 4); |
@@ -412,8 +410,6 @@ static void batadv_recv_handler_init(void) | |||
412 | batadv_rx_handler[BATADV_UNICAST_4ADDR] = batadv_recv_unicast_packet; | 410 | batadv_rx_handler[BATADV_UNICAST_4ADDR] = batadv_recv_unicast_packet; |
413 | /* unicast packet */ | 411 | /* unicast packet */ |
414 | batadv_rx_handler[BATADV_UNICAST] = batadv_recv_unicast_packet; | 412 | batadv_rx_handler[BATADV_UNICAST] = batadv_recv_unicast_packet; |
415 | /* fragmented unicast packet */ | ||
416 | batadv_rx_handler[BATADV_UNICAST_FRAG] = batadv_recv_ucast_frag_packet; | ||
417 | /* unicast tvlv packet */ | 413 | /* unicast tvlv packet */ |
418 | batadv_rx_handler[BATADV_UNICAST_TVLV] = batadv_recv_unicast_tvlv; | 414 | batadv_rx_handler[BATADV_UNICAST_TVLV] = batadv_recv_unicast_tvlv; |
419 | /* batman icmp packet */ | 415 | /* batman icmp packet */ |