9
0
Fork 0

remove unused variable NetBootFileSize

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
This commit is contained in:
Sascha Hauer 2009-10-17 08:54:57 +02:00
parent 551d088687
commit a5f301fb7a
4 changed files with 0 additions and 12 deletions

View File

@ -260,7 +260,6 @@ extern IPaddr_t NetOurDNS2IP; /* Our 2nd Domain Name Server (0 = unknown)*/
extern char NetOurNISDomain[32]; /* Our NIS domain */
extern char NetOurHostName[32]; /* Our hostname */
extern char NetOurRootPath[64]; /* Our root path */
extern ushort NetBootFileSize; /* Our boot file size in blocks */
/** END OF BOOTP EXTENTIONS **/
extern ulong NetBootFileXferSize; /* size of bootfile in bytes */
extern uchar NetOurEther[6]; /* Our ethernet address */

View File

@ -101,7 +101,6 @@ IPaddr_t NetOurDNS2IP=0; /* Our 2nd DNS IP address */
char NetOurNISDomain[32]={0,}; /* Our NIS domain */
char NetOurHostName[32]={0,}; /* Our hostname */
char NetOurRootPath[64]={0,}; /* Our bootpath */
ushort NetBootFileSize=0; /* Our bootfile size in blocks */
/** END OF BOOTP EXTENTIONS **/

View File

@ -711,11 +711,6 @@ NfsStart (void)
}
printf ("\nFilename '%s/%s'.", nfs_path, nfs_filename);
if (NetBootFileSize)
printf (" Size is 0x%x Bytes = %s",
NetBootFileSize<<9,
size_human_readable (NetBootFileSize<<9));
NetSetTimeout (NFS_TIMEOUT * SECOND, NfsTimeout);
NetSetHandler (NfsHandler);

View File

@ -303,11 +303,6 @@ TftpStart (void)
printf ("Filename '%s'.", tftp_filename);
if (NetBootFileSize)
printf (" Size is 0x%x Bytes = %s",
NetBootFileSize<<9,
size_human_readable(NetBootFileSize<<9));
puts ("\nLoading: *\b");
NetSetTimeout (TIMEOUT * SECOND, TftpTimeout);