]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf8da08fbd9c71a647ce6cb608f2a6f751e2160e
treeb038de3d4644b8bbf3c14de84512f11d626d888d
parentcf1f6804b04b07e8ee4485a98d9a3668a312b86f
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