diff --git a/drivers/char/hvcs.c b/drivers/char/hvcs.c
index f7ac31856572a141b328a5b94ca43035978bcc36..327b00c3c45eafef31aa9254e1e6589f6088295d 100644
--- a/drivers/char/hvcs.c
+++ b/drivers/char/hvcs.c
@@ -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);