diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-24 14:33:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-25 08:07:05 -0700 |
commit | ea46c8f774f295c45fac48101d54be347d3d453b (patch) | |
tree | 6a0bc2476e82be68b66cad2b77075e4f36beb1ea /lib/dma-debug.c | |
parent | 0fa05599009ed36304d490064888d0252d656add (diff) |
dynamic_debug: small cleanup in ddebug_proc_write()
This 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>
Acked-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions