From: Kay Sievers Date: Mon, 14 May 2007 23:08:48 +0000 (+0200) Subject: create_floppy_devices: remove dead "unlink" code X-Git-Tag: 174~1949 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1a9ac32b992c0c6ca09e90035eca2c8da3bf548;p=systemd create_floppy_devices: remove dead "unlink" code --- 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;