mirror of
https://github.com/ipxe/ipxe
synced 2026-04-04 03:00:20 +03:00
Dead code removal.
Kill off use of etherboot.h outside drivers/net.
This commit is contained in:
@@ -33,8 +33,6 @@
|
||||
\*********************************************************************/
|
||||
|
||||
#ifdef DOWNLOAD_PROTO_FSP
|
||||
#include "etherboot.h"
|
||||
#include "nic.h"
|
||||
|
||||
#define FSP_PORT 21
|
||||
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
|
||||
#include <ip.h>
|
||||
#include <igmp.h>
|
||||
#include <background.h>
|
||||
#include <nic.h>
|
||||
#include <etherboot.h>
|
||||
|
||||
#if 0
|
||||
|
||||
static unsigned long last_igmpv1 = 0;
|
||||
static struct igmptable_t igmptable[MAX_IGMP];
|
||||
@@ -164,3 +163,5 @@ void join_group ( int slot, unsigned long group ) {
|
||||
igmptable[slot].time = currticks();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#include "etherboot.h"
|
||||
#if 0
|
||||
|
||||
#include <gpxe/init.h>
|
||||
#include "proto.h"
|
||||
#include <gpxe/in.h>
|
||||
#include "nic.h"
|
||||
|
||||
/* NOTE: the NFS code is heavily inspired by the NetBSD netboot code (read:
|
||||
* large portions are copied verbatim) as distributed in OSKit 0.97. A few
|
||||
@@ -613,3 +612,5 @@ struct protocol nfs_protocol __protocol = {
|
||||
.default_port = SUNRPC_PORT,
|
||||
.load = nfs,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include "etherboot.h"
|
||||
#include "proto.h"
|
||||
#include "nic.h"
|
||||
#if 0
|
||||
|
||||
/*
|
||||
* IMPORTANT
|
||||
@@ -539,3 +537,5 @@ struct protocol slam_protocol __protocol = {
|
||||
.default_port = SLAM_PORT,
|
||||
.load = url_slam,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user