]> err.no Git - systemd/commitdiff
create_floppy_devices: remove dead "unlink" code
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 14 May 2007 23:08:48 +0000 (01:08 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 14 May 2007 23:08:48 +0000 (01:08 +0200)
extras/floppy/create_floppy_devices.c

index 7c1ea0715a508a471c7c769586eecadaa346563a..b9fa4ef41d7e5a9061a14729da7e250548f95815 100644 (file)
@@ -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;