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>
This commit is contained in:
parent
1bda71282d
commit
1c93ca0986
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue