lkml.org 
[lkml]   [2010]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] dynamic_debug: small clean up in ddebug_proc_write()
On Sat, Mar 06, 2010 at 01:59:34PM +0300, Dan Carpenter wrote:
> This the doesn't change behavior at all. In the original code, if nwords
> was zero then ddebug_parse_query() would return -EINVAL, now we just do
> it earlier.
>
> Signed-off-by: Dan Carpenter <error27@gmail.com>
>

I guess it makes the code a little more readable.

Acked-by: Jason Baron <jbaron@redhat.com>


\
 
 \ /
  Last update: 2010-03-08 16:55    [W:0.043 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site