diff options
-rw-r--r-- | drivers/ipack/devices/ipoctal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c index 18f9cf1ffe2b..850f10506a79 100644 --- a/drivers/ipack/devices/ipoctal.c +++ b/drivers/ipack/devices/ipoctal.c | |||
@@ -121,11 +121,12 @@ static void ipoctal_irq_rx(struct ipoctal_channel *channel, | |||
121 | struct tty_struct *tty, u8 sr) | 121 | struct tty_struct *tty, u8 sr) |
122 | { | 122 | { |
123 | unsigned char value; | 123 | unsigned char value; |
124 | unsigned char flag = TTY_NORMAL; | 124 | unsigned char flag; |
125 | u8 isr; | 125 | u8 isr; |
126 | 126 | ||
127 | do { | 127 | do { |
128 | value = ioread8(&channel->regs->r.rhr); | 128 | value = ioread8(&channel->regs->r.rhr); |
129 | flag = TTY_NORMAL; | ||
129 | /* Error: count statistics */ | 130 | /* Error: count statistics */ |
130 | if (sr & SR_ERROR) { | 131 | if (sr & SR_ERROR) { |
131 | iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); | 132 | iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); |