summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-01-10 18:08:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-04 00:52:13 +0100
commit79ce9d52ae17ff9a29edc2c71638af37f709b9cd (patch)
treea1f425bf0e29ae48e44ccc4384b75bd218a6e1fd /drivers/tty
parentserial: of-serial: fetch line number from DT (diff)
downloadlinux-79ce9d52ae17ff9a29edc2c71638af37f709b9cd.tar.xz
linux-79ce9d52ae17ff9a29edc2c71638af37f709b9cd.zip
tty: remove unused variable sprop
sprop is unused in find_console_handle() since commit a752ee56ad84 ("tty: Update hypervisor tty drivers to use core stdout parsing code.") Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/ehv_bytechan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c
index 3c60923b0957..342b36b9ad35 100644
--- a/drivers/tty/ehv_bytechan.c
+++ b/drivers/tty/ehv_bytechan.c
@@ -112,7 +112,6 @@ static void disable_tx_interrupt(struct ehv_bc_data *bc)
static int find_console_handle(void)
{
struct device_node *np = of_stdout;
- const char *sprop = NULL;
const uint32_t *iprop;
/* We don't care what the aliased node is actually called. We only