From f1a9ac32b992c0c6ca09e90035eca2c8da3bf548 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 15 May 2007 01:08:48 +0200 Subject: [PATCH] create_floppy_devices: remove dead "unlink" code --- extras/floppy/create_floppy_devices.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/extras/floppy/create_floppy_devices.c b/extras/floppy/create_floppy_devices.c index 7c1ea071..b9fa4ef4 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; -- 2.39.5