[PATCH] Altix: small ioc4 oversight

Get rid of the local 'flip' variable and no need to 'trim' the buffer.

Signed-off-by: Patrick Gefre <pfg@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Pat Gefre and committed by Linus Torvalds 27d162e2 341c2d80

+2 -4
+2 -4
drivers/serial/ioc4_serial.c
··· 2301 2301 int read_count, request_count = IOC4_MAX_CHARS; 2302 2302 struct uart_icount *icount; 2303 2303 struct uart_info *info = the_port->info; 2304 - int flip = 0; 2305 2304 unsigned long pflags; 2306 2305 2307 2306 /* Make sure all the pointers are "good" ones */ ··· 2312 2313 spin_lock_irqsave(&the_port->lock, pflags); 2313 2314 tty = info->tty; 2314 2315 2315 - request_count = tty_buffer_request_room(tty, IOC4_MAX_CHARS - 2); 2316 + request_count = tty_buffer_request_room(tty, IOC4_MAX_CHARS); 2316 2317 2317 2318 if (request_count > 0) { 2318 2319 icount = &the_port->icount; ··· 2325 2326 2326 2327 spin_unlock_irqrestore(&the_port->lock, pflags); 2327 2328 2328 - if (flip) 2329 - tty_flip_buffer_push(tty); 2329 + tty_flip_buffer_push(tty); 2330 2330 } 2331 2331 2332 2332 /**