summaryrefslogtreecommitdiff
path: root/drivers/staging/batman-adv/routing.c
diff options
context:
space:
mode:
authorSimon Wunderlich <siwu@hrz.tu-chemnitz.de>2010-01-02 10:30:51 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-04 00:42:36 (GMT)
commitabad5446585b0b9519fad00c05156f373ea114ad (patch)
treee2b09bb5a418d9bd0f78c88a85b51e857c42ddbf /drivers/staging/batman-adv/routing.c
parentb9b27e4ef6313449a6b40a21e0e9a1bdd9a1d8ce (diff)
downloadlinux-fsl-qoriq-abad5446585b0b9519fad00c05156f373ea114ad.tar.xz
Staging: batman-adv: Remove compat.h
Since we are now part of mainline, we don't need compat.h to allow building of the module with old versions of the kernel. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/batman-adv/routing.c')
-rw-r--r--drivers/staging/batman-adv/routing.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/batman-adv/routing.c b/drivers/staging/batman-adv/routing.c
index bab7a73..09917e5 100644
--- a/drivers/staging/batman-adv/routing.c
+++ b/drivers/staging/batman-adv/routing.c
@@ -32,7 +32,6 @@
#include "ring_buffer.h"
#include "vis.h"
#include "aggregation.h"
-#include "compat.h"
DECLARE_WAIT_QUEUE_HEAD(thread_wait);
@@ -310,7 +309,6 @@ static void update_orig(struct orig_node *orig_node, struct ethhdr *ethhdr,
update_hna:
update_routes(orig_node, orig_node->router, hna_buff, tmp_hna_buff_len);
- return;
}
static char count_real_packets(struct ethhdr *ethhdr,