summaryrefslogtreecommitdiff
path: root/core/fs/pxe/pxe.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fs/pxe/pxe.h')
-rw-r--r--core/fs/pxe/pxe.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/fs/pxe/pxe.h b/core/fs/pxe/pxe.h
index a3b6cb27..65c693bb 100644
--- a/core/fs/pxe/pxe.h
+++ b/core/fs/pxe/pxe.h
@@ -175,18 +175,6 @@ extern uint16_t BIOS_fbm;
extern const uint8_t TimeoutTable[];
/*
- * Compute the suitable gateway for a specific route -- too many
- * vendor PXE stacks don't do this correctly...
- */
-static inline uint32_t gateway(uint32_t ip)
-{
- if ((ip ^ IPInfo.myip) & IPInfo.netmask)
- return IPInfo.gateway;
- else
- return 0;
-}
-
-/*
* functions
*/