1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

create_floppy_devices: remove dead "unlink" code

This commit is contained in:
Kay Sievers 2007-05-15 01:08:48 +02:00
parent 88243f0974
commit f1a9ac32b9

View 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;