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-03 15:52:13 -0800
commit79ce9d52ae17ff9a29edc2c71638af37f709b9cd (patch)
treea1f425bf0e29ae48e44ccc4384b75bd218a6e1fd /drivers/tty
parent3239fd31d4b6b7e0f5629eb458bd67b719050783 (diff)
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 3c60923b095..342b36b9ad3 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