summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/nfs.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/net/nfs.c b/net/nfs.c
index da80c22166..33063d7f61 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -664,15 +664,7 @@ NfsStart (char *p)
return;
}
- p = strchr (p, ':');
-
- if (p != NULL) {
- string_to_ip (BootFile, &NfsServerIP);
- ++p;
- strcpy (nfs_path, p);
- } else {
- strcpy (nfs_path, BootFile);
- }
+ strcpy (nfs_path, p);
nfs_filename = basename (nfs_path);
nfs_path = dirname (nfs_path);