diff --git a/dist/tools/usb-serial/ttys.py b/dist/tools/usb-serial/ttys.py index 59e3d24092..dc6f41d823 100755 --- a/dist/tools/usb-serial/ttys.py +++ b/dist/tools/usb-serial/ttys.py @@ -52,16 +52,6 @@ def filters_match(filters, tty): return True -def shorten(string, length): - """ - Shorten the given string to the given length, if needed - """ - if len(string) > length: - return string[:length - 3] + "..." - - return string - - def parse_args(args): """ Parse the given command line style arguments with argparse