Skip to content

Ignore return type from tty_unregister_driver

Jorge Sanjuan Garcia requested to merge fix_kernel61_compilation into mad-dev

This function was always returning 0 in older kernel versions and it ended up changing to void return type in newer kernel versions so let us just ignore the return of this so it would work with all kernel versions.

NOTE: This is the code from v4.9: https://elixir.bootlin.com/linux/v4.9/source/drivers/tty/tty_io.c

Merge request reports