Re: [patch] dynamic_debug: small clean up in ddebug_proc_write()

From: Jason Baron
Date: Mon Mar 08 2010 - 10:52:32 EST


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@xxxxxxxxx>
>

I guess it makes the code a little more readable.

Acked-by: Jason Baron <jbaron@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/