[syslinux:lwip] pxe: remove a stray inline

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sun May 1 21:18:37 PDT 2011


Commit-ID:  6ae3556b679985e5ed880d0ebe75f3a095ab8d03
Gitweb:     http://syslinux.zytor.com/commit/6ae3556b679985e5ed880d0ebe75f3a095ab8d03
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 1 May 2011 20:51:04 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 1 May 2011 20:51:04 -0700

pxe: remove a stray inline

The gateway() inline is no longer used.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 core/fs/pxe/pxe.h |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/core/fs/pxe/pxe.h b/core/fs/pxe/pxe.h
index a3b6cb2..65c693b 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
  */
 



More information about the Syslinux-commits mailing list