diff options
author | Sascha Hauer <sha@pengutronix.de> | 2009-10-17 08:54:57 +0200 |
---|---|---|
committer | Sascha Hauer <sha@pengutronix.de> | 2009-10-17 08:54:57 +0200 |
commit | a5f301fb7a6aa68e3c4342394dfe591ec8eec2aa (patch) | |
tree | a7c704e807ae0c24a4d8c67072ec00fe52a3b15e /net | |
parent | 551d0886878cfb6dc4e58e2283fa65748819c605 (diff) | |
download | barebox-a5f301fb7a6aa68e3c4342394dfe591ec8eec2aa.tar.gz barebox-a5f301fb7a6aa68e3c4342394dfe591ec8eec2aa.tar.xz |
remove unused variable NetBootFileSize
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 1 | ||||
-rw-r--r-- | net/nfs.c | 5 | ||||
-rw-r--r-- | net/tftp.c | 5 |
3 files changed, 0 insertions, 11 deletions
@@ -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 **/ @@ -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); diff --git a/net/tftp.c b/net/tftp.c index 7a5b8075ff..86ef0c3dd6 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -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); |