diff options
author | Johann Felix Soden <johfel@users.sourceforge.net> | 2008-10-30 22:44:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-17 11:23:06 -0800 |
commit | 1c93ca09863a544cec24fc8e33491f645df80e59 (patch) | |
tree | f023bbb17ebbf2dd9d0e352d621a282b79b06298 /lib/dynamic_printk.c | |
parent | 1bda71282ded6a2e09a2db7c8884542fb46bfd4f (diff) | |
download | kernel_samsung_smdk4412-1c93ca09863a544cec24fc8e33491f645df80e59.zip kernel_samsung_smdk4412-1c93ca09863a544cec24fc8e33491f645df80e59.tar.gz kernel_samsung_smdk4412-1c93ca09863a544cec24fc8e33491f645df80e59.tar.bz2 |
driver core: fix using 'ret' variable in unregister_dynamic_debug_module
The 'ret' variable is assigned, but not used in the return statement. Fix this.
Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net>
Acked-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/dynamic_printk.c')
-rw-r--r-- | lib/dynamic_printk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dynamic_printk.c b/lib/dynamic_printk.c index d83660f..d0fd0e4 100644 --- a/lib/dynamic_printk.c +++ b/lib/dynamic_printk.c @@ -135,7 +135,7 @@ int unregister_dynamic_debug_module(char *mod_name) nr_entries--; out: up(&debug_list_mutex); - return 0; + return ret; } EXPORT_SYMBOL_GPL(unregister_dynamic_debug_module); |