summaryrefslogtreecommitdiff
path: root/mount/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount/mount.c')
-rw-r--r--mount/mount.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/mount/mount.c b/mount/mount.c
index 8cab2e8a..969e81fc 100644
--- a/mount/mount.c
+++ b/mount/mount.c
@@ -1346,7 +1346,6 @@ try_mount_one (const char *spec0, const char *node0, const char *types0,
int loop = 0;
const char *loopdev = 0, *loopfile = 0;
struct stat statbuf;
- int retries = 0; /* Nr of retries for mount in case of ENOMEDIUM */
/* copies for freeing on exit */
const char *opts1, *spec1, *node1, *types1, *extra_opts1;
@@ -1412,7 +1411,6 @@ try_mount_one (const char *spec0, const char *node0, const char *types0,
goto out;
}
-mount_retry:
block_signals (SIG_BLOCK);
if (!fake) {
@@ -1658,14 +1656,6 @@ mount_retry:
break;
}
case ENOMEDIUM:
- if (retries < CRDOM_NOMEDIUM_RETRIES) {
- if (verbose)
- printf(_("mount: no medium found on %s ...trying again\n"),
- spec);
- sleep(3);
- ++retries;
- goto mount_retry;
- }
error(_("mount: no medium found on %s"), spec);
break;
default: