1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #15227 from kYc0o/pr-remove_event_netdev_t_gnrc_netif

gnrc_netif: remove unused `event_netdev_t` struct
This commit is contained in:
Martine Lenders 2020-10-14 15:45:55 +02:00 committed by GitHub
commit ac097bb73d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,16 +46,6 @@
#define ENABLE_DEBUG (0)
#include "debug.h"
#ifdef MODULE_GNRC_NETIF_EVENTS
/**
* @brief Event type used for passing netdev pointers together with the event
*/
typedef struct {
event_t super;
netdev_t *dev;
} event_netdev_t;
#endif /* MODULE_GNRC_NETIF_EVENTS */
static void _update_l2addr_from_dev(gnrc_netif_t *netif);
static void _configure_netdev(netdev_t *dev);
static void *_gnrc_netif_thread(void *args);