Commit d2a457cf authored by M.Baris Demiray's avatar M.Baris Demiray Committed by Linus Torvalds
Browse files

[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: default avatarM.Baris Demiray <baris@labristeknoloji.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2b1ee233
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -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