sicslowpan doesn't need to remember the mac driver

This commit is contained in:
George Oikonomou 2011-08-16 12:37:23 +01:00 committed by George Oikonomou
parent e6819effef
commit 598dcc110c
2 changed files with 0 additions and 7 deletions

View file

@ -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.

View file

@ -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__ */
/** @} */