Messages in this thread |  | | Date | Fri, 29 Nov 2013 15:09:05 -0500 | From | Theodore Ts'o <> | Subject | Re: [PATCH 4/9] random: simplify loop in random_read |
| |
On Wed, Nov 13, 2013 at 03:07:40AM -0500, Greg Price wrote: > The loop condition never changes until just before a break, so we > might as well write it as a constant. Also since v2.6.33-rc7~40^2~2 > ("random: drop weird m_time/a_time manipulation") we don't do > anything after the loop finishes, so the 'break's might as well > return directly. Some other simplifications. > > The behavior should be identical except that I've changed a debug > message. > > Cc: "Theodore Ts'o" <tytso@mit.edu> > Signed-off-by: Greg Price <price@mit.edu>
Applied, although I slightly edited the commit description the the debug message mentioned in the description was removed since the first version of your patch series, and it wasn't updated as part of the rebase.
- Ted
|  |