lwip: no need to retrieve own endpoint

Change-Id: I86bd20be9b1aec4116edbe112eb562737860568f
This commit is contained in:
David van Moolenbroek 2015-07-18 10:07:19 +02:00
parent efa7e3e6d2
commit ec725af4c5
3 changed files with 0 additions and 12 deletions

View file

@ -37,7 +37,6 @@
static struct nic devices[MAX_DEVS];
static ip_addr_t ip_addr_none = { IPADDR_NONE };
extern endpoint_t lwip_ep;
void nic_assign_driver(const char * dev_type,
unsigned int dev_num,

View file

@ -62,8 +62,6 @@
#include "proto.h"
#include "driver.h"
extern endpoint_t lwip_ep;
static err_t low_level_output(__unused struct netif *netif, struct pbuf *pbuf)
{
struct nic * nic;

View file

@ -22,8 +22,6 @@
#include <netif/etharp.h>
#include <lwip/tcp_impl.h>
endpoint_t lwip_ep;
static minix_timer_t tcp_ftmr, tcp_stmr, arp_tmr;
static int arp_ticks, tcp_fticks, tcp_sticks;
@ -60,13 +58,6 @@ static int sef_cb_init_fresh(__unused int type, __unused sef_init_info_t *info)
int err;
unsigned int hz;
char my_name[16];
int my_priv;
err = sys_whoami(&lwip_ep, my_name, sizeof(my_name), &my_priv);
if (err != OK)
panic("Cannot get own endpoint");
nic_init_all();
inet_read_conf();