From 598dcc110c5c47471fbe12ae6bccec349311e1ac Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Tue, 16 Aug 2011 12:37:23 +0100 Subject: [PATCH] sicslowpan doesn't need to remember the mac driver --- core/net/sicslowpan.c | 6 ------ core/net/sicslowpan.h | 1 - 2 files changed, 7 deletions(-) diff --git a/core/net/sicslowpan.c b/core/net/sicslowpan.c index 432c6831f..cfc11f943 100644 --- a/core/net/sicslowpan.c +++ b/core/net/sicslowpan.c @@ -179,9 +179,6 @@ void uip_log(char *msg); /** \name General variables * @{ */ -/** A pointer to the mac driver */ -const struct mac_driver *sicslowpan_mac; - #ifdef SICSLOWPAN_NH_COMPRESSOR /** A pointer to the additional compressor */ extern struct sicslowpan_nh_compressor SICSLOWPAN_NH_COMPRESSOR; @@ -1766,9 +1763,6 @@ input(void) void sicslowpan_init(void) { - /* remember the mac driver */ - sicslowpan_mac = &NETSTACK_MAC; - /* * Set out output function as the function to be called from uIP to * send a packet. diff --git a/core/net/sicslowpan.h b/core/net/sicslowpan.h index 2af071edf..c79ed2803 100644 --- a/core/net/sicslowpan.h +++ b/core/net/sicslowpan.h @@ -321,6 +321,5 @@ struct sicslowpan_nh_compressor { extern const struct network_driver sicslowpan_driver; -extern const struct mac_driver *sicslowpan_mac; #endif /* __SICSLOWPAN_H__ */ /** @} */