lkml.org 
[lkml]   [2007]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] genericserial: Remove bogus optimisation check and dead code paths
Alan Cox wrote:

[...snip...]
> @@ -75,11 +64,11 @@
> if (! (port->flags & ASYNC_INITIALIZED)) return;
>
> /* Take a lock on the serial tranmit buffer! */
> - LOCKIT;
> + mutex_lock(& port->port_write_mutex);
>

^ Contains additional whitespace.

> if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
> /* Sorry, buffer is full, drop character. Update statistics???? -- REW */
> - RELEASEIT;
> + mutex_unlock(&port->port_write_mutex);
> return;
> }
>
> @@ -87,13 +76,11 @@
>
[...snip...]

== Morten
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-03 16:57    [W:3.134 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site