tty: remove unused variable sprop
authorFabian Frederick <fabf@skynet.be>
Sat, 10 Jan 2015 17:08:51 +0000 (18:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Feb 2015 23:52:13 +0000 (15:52 -0800)
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>
drivers/tty/ehv_bytechan.c

index 3c60923b0957b446f82d271f11380ca58a718801..342b36b9ad35a1d4c77bbfa757d58c8ceaea0c14 100644 (file)
@@ -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