]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
UBUNTU: SAUCE: xr-usb-serial: clean up build warnings
authorColin Ian King <colin.king@canonical.com>
Fri, 26 Mar 2021 16:54:41 +0000 (16:54 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:19 +0000 (15:42 -0500)
commit6e9c59578392d8774783fb6e9009d5aa2a8446d4
tree5c301a15a94c5c4bd073876a2f427a5a7dfce5ca
parent015969188d7b50430c691ada4a99f2c6aef94703
UBUNTU: SAUCE: xr-usb-serial: clean up build warnings

Clean up a few build warnings on unused variable 'tty'. Only declare
tty for specific kernel versions where the code requires it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
ubuntu/xr-usb-serial/xr_usb_serial_common.c