summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-01-10 20:08:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-04 02:52:13 +0300
commit79ce9d52ae17ff9a29edc2c71638af37f709b9cd (patch)
treea1f425bf0e29ae48e44ccc4384b75bd218a6e1fd /drivers/tty
parent3239fd31d4b6b7e0f5629eb458bd67b719050783 (diff)
downloadlinux-79ce9d52ae17ff9a29edc2c71638af37f709b9cd.tar.xz
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