summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSascha Hauer <sha@pengutronix.de>2009-10-17 08:54:57 +0200
committerSascha Hauer <sha@pengutronix.de>2009-10-17 08:54:57 +0200
commita5f301fb7a6aa68e3c4342394dfe591ec8eec2aa (patch)
treea7c704e807ae0c24a4d8c67072ec00fe52a3b15e /net
parent551d0886878cfb6dc4e58e2283fa65748819c605 (diff)
downloadbarebox-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.c1
-rw-r--r--net/nfs.c5
-rw-r--r--net/tftp.c5
3 files changed, 0 insertions, 11 deletions
diff --git a/net/net.c b/net/net.c
index db20add230..214685c5ef 100644
--- a/net/net.c
+++ b/net/net.c
@@ -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 **/
diff --git a/net/nfs.c b/net/nfs.c
index 87db551f13..775e5a2412 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -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);