فهرست منبع

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>
Fabian Frederick 10 سال پیش
والد
کامیت
79ce9d52ae
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      drivers/tty/ehv_bytechan.c

+ 0 - 1
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)
 static int find_console_handle(void)
 {
 {
 	struct device_node *np = of_stdout;
 	struct device_node *np = of_stdout;
-	const char *sprop = NULL;
 	const uint32_t *iprop;
 	const uint32_t *iprop;
 
 
 	/* We don't care what the aliased node is actually called.  We only
 	/* We don't care what the aliased node is actually called.  We only