mirror of https://gitee.com/openkylin/linux.git
[PATCH] powerpc: Compile warning in hvcs driver
We ended up with an unused variable after the tty updates went in. Fix it. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
c258dd40ab
commit
b8c7b976a5
|
@ -439,7 +439,6 @@ static int hvcs_io(struct hvcs_struct *hvcsd)
|
|||
char buf[HVCS_BUFF_LEN] __ALIGNED__;
|
||||
unsigned long flags;
|
||||
int got = 0;
|
||||
int i;
|
||||
|
||||
spin_lock_irqsave(&hvcsd->lock, flags);
|
||||
|
||||
|
|
Loading…
Reference in New Issue