summaryrefslogtreecommitdiff
path: root/extras/floppy
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-05-15 01:08:48 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-05-15 01:08:48 +0200
commitf1a9ac32b992c0c6ca09e90035eca2c8da3bf548 (patch)
tree54f2ec09901db3a4da3bfc2c73e04e11efba0169 /extras/floppy
parent88243f0974b9855d7b50a3f1e080823d88d473f4 (diff)
create_floppy_devices: remove dead "unlink" code
Diffstat (limited to 'extras/floppy')
-rw-r--r--extras/floppy/create_floppy_devices.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/extras/floppy/create_floppy_devices.c b/extras/floppy/create_floppy_devices.c
index 7c1ea0715a..b9fa4ef41d 100644
--- a/extras/floppy/create_floppy_devices.c
+++ b/extras/floppy/create_floppy_devices.c
@@ -77,18 +77,12 @@ int main(int argc, char **argv)
mode_t mode = 0660;
int create_nodes = 0;
int print_nodes = 0;
- int unlink_nodes = 0;
int is_err = 0;
while ((c = getopt(argc, argv, "cudm:U:G:M:t:")) != -1) {
switch (c) {
case 'c':
create_nodes = 1;
- unlink_nodes = 0;
- break;
- case 'u':
- unlink_nodes = 1;
- create_nodes = 0;
break;
case 'd':
print_nodes = 1;