diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-11-13 16:37:18 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-11-13 16:37:18 -0800 |
commit | cb67f4df28b4395721bf7da2bfff984e16407cc8 (patch) | |
tree | 66dc794c5fb00c9ddf4808c4f756dffab3a1414f | |
parent | 046943f30564f7d07c57383d361a5169a87a48cb (diff) | |
download | syslinux-cb67f4df28b4395721bf7da2bfff984e16407cc8.tar.gz |
Remove unused variable BufSafeSec
Remove unused variable BufSafeSec; it was identical to BufSafe in
every way.
At the moment, BufSafe* are always constants; consider if they can be
swapped out for constants or if we want to retain them for flexibility.
-rw-r--r-- | extlinux.asm | 1 | ||||
-rw-r--r-- | isolinux.asm | 1 | ||||
-rw-r--r-- | ldlinux.asm | 1 | ||||
-rw-r--r-- | pxelinux.asm | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/extlinux.asm b/extlinux.asm index 15552804..54fda21e 100644 --- a/extlinux.asm +++ b/extlinux.asm @@ -1571,7 +1571,6 @@ debug_magic dw 0D00Dh ; Debug code sentinel alignb 4, db 0 BufSafe dw trackbufsize/SECTOR_SIZE ; Clusters we can load into trackbuf -BufSafeSec dw trackbufsize/SECTOR_SIZE ; = how many sectors? BufSafeBytes dw trackbufsize ; = how many bytes? %ifndef DEPEND %if ( trackbufsize % SECTOR_SIZE ) != 0 diff --git a/isolinux.asm b/isolinux.asm index d0e56fca..7d454e22 100644 --- a/isolinux.asm +++ b/isolinux.asm @@ -1572,7 +1572,6 @@ img_table: ; alignb 4, db 0 BufSafe dw trackbufsize/SECTOR_SIZE ; Clusters we can load into trackbuf -BufSafeSec dw trackbufsize/SECTOR_SIZE ; = how many sectors? BufSafeBytes dw trackbufsize ; = how many bytes? %ifndef DEPEND %if ( trackbufsize % SECTOR_SIZE ) != 0 diff --git a/ldlinux.asm b/ldlinux.asm index d851efea..48c9cd0b 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -1594,7 +1594,6 @@ debug_magic dw 0D00Dh ; Debug code sentinel alignb 4, db 0 BufSafe dw trackbufsize/SECTOR_SIZE ; Clusters we can load into trackbuf -BufSafeSec dw trackbufsize/SECTOR_SIZE ; = how many sectors? BufSafeBytes dw trackbufsize ; = how many bytes? %ifndef DEPEND %if ( trackbufsize % SECTOR_SIZE ) != 0 diff --git a/pxelinux.asm b/pxelinux.asm index eef55a29..fbfc1a47 100644 --- a/pxelinux.asm +++ b/pxelinux.asm @@ -2607,7 +2607,6 @@ ServerPort dw TFTP_PORT ; TFTP server port ; alignb 4, db 0 BufSafe dw trackbufsize/TFTP_BLOCKSIZE ; Clusters we can load into trackbuf -BufSafeSec dw trackbufsize/512 ; = how many sectors? BufSafeBytes dw trackbufsize ; = how many bytes? %ifndef DEPEND %if ( trackbufsize % TFTP_BLOCKSIZE ) != 0 |