mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Cleanup list devices code
This commit is contained in:
parent
a0d4be068b
commit
bf749aead4
3 changed files with 3 additions and 15 deletions
|
|
@ -51,13 +51,6 @@ int main(int argc, char *argv[])
|
|||
/* Parse command-line options (2nd pass) */
|
||||
options_parse_final(argc, argv);
|
||||
|
||||
/* List available serial devices */
|
||||
if (option.list_devices)
|
||||
{
|
||||
list_serial_devices();
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Configure tty device */
|
||||
tty_configure();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue