summary refs log tree commit diff
path: root/drivers/tty/hvc
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-03 15:13:25 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-23 15:59:08 +0200
commit6f1c0268a4871a80c0ec78142eeb1fe0556e898a (patch)
treecd2780b174a15ed1e6d03c270432b1b884e4b4e7 /drivers/tty/hvc
parent44da03628b841635b157ea8d3fd46626783fe70d (diff)
downloadlinux-6f1c0268a4871a80c0ec78142eeb1fe0556e898a.tar.gz
tty: hvc: remove hvcs_driver_string
No users of hvcs_driver_string, remove it. This fixes the following gcc
warning:

drivers/tty/hvc/hvcs.c:199:19: warning: ‘hvcs_driver_string’ defined but
not used [-Wunused-const-variable=]
 static const char hvcs_driver_string[]
                   ^~~~~~~~~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200403071325.3721-1-yanaijie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc')
-rw-r--r--drivers/tty/hvc/hvcs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c
index ee0604cd9c6b..55105ac38f89 100644
--- a/drivers/tty/hvc/hvcs.c
+++ b/drivers/tty/hvc/hvcs.c
@@ -196,8 +196,6 @@ module_param(hvcs_parm_num_devs, int, 0);
 
 static const char hvcs_driver_name[] = "hvcs";
 static const char hvcs_device_node[] = "hvcs";
-static const char hvcs_driver_string[]
-	= "IBM hvcs (Hypervisor Virtual Console Server) Driver";
 
 /* Status of partner info rescan triggered via sysfs. */
 static int hvcs_rescan_status;