[PATCH] riotty.c cleanups and warning fix
Fix a bunch of whitespace oddities and use `unsigned long' for a jiffies-holding variable. Signed-off-by: M.Baris Demiray <baris@labristeknoloji.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
2b1ee233f5
commit
d2a457cf26
|
@ -529,7 +529,7 @@ riotclose(void *ptr)
|
|||
int try = -1; /* Disable the timeouts by setting them to -1 */
|
||||
int repeat_this = -1; /* Congrats to those having 15 years of
|
||||
uptime! (You get to break the driver.) */
|
||||
long end_time;
|
||||
unsigned long end_time;
|
||||
struct tty_struct * tty;
|
||||
unsigned long flags;
|
||||
int Modem;
|
||||
|
@ -656,8 +656,6 @@ riotclose(void *ptr)
|
|||
goto close_end;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Can't call RIOShortCommand with the port locked. */
|
||||
rio_spin_unlock_irqrestore(&PortP->portSem, flags);
|
||||
|
||||
|
@ -698,7 +696,6 @@ riotclose(void *ptr)
|
|||
*/
|
||||
PortP->Config &= ~(RIO_CTSFLOW|RIO_RTSFLOW);
|
||||
|
||||
|
||||
#ifdef STATS
|
||||
PortP->Stat.CloseCnt++;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue