amiserial: remove unused state from shutdown
authorJiri Slaby <jslaby@suse.cz>
Wed, 14 Jul 2021 09:13:14 +0000 (11:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 10:49:51 +0000 (12:49 +0200)
commit5b869a06a2790a2d1f3ee965e8f38246bfc32d24
treeb038de3d4644b8bbf3c14de84512f11d626d888d
parent6cc7bda16dfd4a5d89039302cf1668f9820dfb77
amiserial: remove unused state from shutdown

'state' variable is only set but never read in amiserial's shutdown.
Drop it.

It was like this since the driver was added to the tree as far as I can
tell.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210714091314.8292-11-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/amiserial.c