diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-05-01 20:51:04 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-05-01 20:51:04 -0700 |
commit | 6ae3556b679985e5ed880d0ebe75f3a095ab8d03 (patch) | |
tree | 4277353b1e557cfb6c517dbc87435c8b3d32a7e9 | |
parent | efd2d8b54c4fa38ae9a036d5bce72baca4c9cce1 (diff) | |
download | syslinux-6ae3556b679985e5ed880d0ebe75f3a095ab8d03.tar.gz |
pxe: remove a stray inline
The gateway() inline is no longer used.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | 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 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 */ |