Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8c7b976 authored by Anton Blanchard's avatar Anton Blanchard Committed by Paul Mackerras
Browse files

[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: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent c258dd40
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -439,7 +439,6 @@ static int hvcs_io(struct hvcs_struct *hvcsd)
	char buf[HVCS_BUFF_LEN] __ALIGNED__;
	char buf[HVCS_BUFF_LEN] __ALIGNED__;
	unsigned long flags;
	unsigned long flags;
	int got = 0;
	int got = 0;
	int i;


	spin_lock_irqsave(&hvcsd->lock, flags);
	spin_lock_irqsave(&hvcsd->lock, flags);