Remove unused variable BufSafeSec
authorH. Peter Anvin <hpa@zytor.com>
Wed, 14 Nov 2007 00:37:18 +0000 (16:37 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 14 Nov 2007 00:37:18 +0000 (16:37 -0800)
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.

extlinux.asm
isolinux.asm
ldlinux.asm
pxelinux.asm

index 1555280..54fda21 100644 (file)
@@ -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
index d0e56fc..7d454e2 100644 (file)
@@ -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
index d851efe..48c9cd0 100644 (file)
@@ -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
index eef55a2..fbfc1a4 100644 (file)
@@ -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