dynamic_debug: simplify dynamic_debug_init error exit
authorJim Cromie <jim.cromie@gmail.com>
Fri, 27 Apr 2012 20:30:38 +0000 (14:30 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Apr 2012 20:25:39 +0000 (16:25 -0400)
commitaf442399fcf378a21ffe924b182f6d9ee70001ca
treec4489c25edde2f6c4aaeac9eaf2d6d784f6572f9
parent6ab676e96422f33a873006096f928feeded7ce3b
dynamic_debug: simplify dynamic_debug_init error exit

We dont want errors while parsing ddebug_query to unload ddebug
tables, so set success after tables are loaded, and return 0 after
query parsing is done.

Simplify error handling code since its no longer used for success,
and change goto label to out_err to clarify this.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Acked-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/dynamic_debug.c