mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue