Skip to content
Snippets Groups Projects
Commit ea46c8f7 authored by Dan Carpenter's avatar Dan Carpenter Committed by Linus Torvalds
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarJason Baron <jbaron@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0fa05599
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment