module: Remove redundant core argument from pa_module_unload()

pa_module_unload() takes two pointers: pa_module and pa_core.
The pa_core pointer is also available via the pa_module object,
so the pa_core argument is redundant

[David Henningsson: Rebased to git HEAD]
This commit is contained in:
Kiran Krishnappa 2015-06-25 21:59:36 +05:30 committed by David Henningsson
parent cda1a5e897
commit 96b368b960
6 changed files with 8 additions and 9 deletions

View file

@ -643,7 +643,7 @@ static int avahi_process_msg(pa_msgobject *o, int code, void *data, int64_t offs
break;
case AVAHI_MESSAGE_SHUTDOWN_START:
pa_module_unload(u->core, u->module, true);
pa_module_unload(u->module, true);
break;
default: