tty: hvc: remove set but unused variable
authorBo Liu <liubo03@inspur.com>
Fri, 8 Sep 2023 06:17:26 +0000 (02:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2023 09:14:42 +0000 (11:14 +0200)
commit46c4699d07e65787d613b92c9fd499e3d44ea80d
tree5ae021ffcadaf62a22a35c270979a7903318b4ac
parent22a048b0749346b6e3291892d06b95278d5ba84a
tty: hvc: remove set but unused variable

The local variable vdev in hvcs_destruct_port() is set
but not used. Remove the variable and related code.

Signed-off-by: Bo Liu <liubo03@inspur.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230908061726.2641-1-liubo03@inspur.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvcs.c