aboutsummaryrefslogtreecommitdiffstats
path: root/core/fs/pxe/pxe.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/fs/pxe/pxe.c')
-rw-r--r--core/fs/pxe/pxe.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/fs/pxe/pxe.c b/core/fs/pxe/pxe.c
index 4d694a1f..3f68e969 100644
--- a/core/fs/pxe/pxe.c
+++ b/core/fs/pxe/pxe.c
@@ -29,20 +29,6 @@ static bool has_gpxe;
static uint32_t gpxe_funcs;
bool have_uuid = false;
-static struct url_scheme {
- const char *name;
- void (*open)(struct url_info *, int, struct inode *, const char **);
- int ok_flags;
-} url_schemes[] = {
- { "tftp", tftp_open, 0 },
-#ifdef IS_LPXELINUX
- { "http", http_open, O_DIRECTORY },
- { "ftp", ftp_open, O_DIRECTORY },
-#endif
- { NULL, NULL, 0 },
-};
-#define OK_FLAGS_MASK (O_DIRECTORY|O_WRONLY)
-
/*
* Allocate a local UDP port structure and assign it a local port number.
* Return the inode pointer if success, or null if failure