mirror of https://gitee.com/openkylin/libvirt.git
bridge_driver: Don't access global driver randomly
Well, network driver code has the driver accessible as a global variable. This makes any rework hard, as it's unclear where the variable is accessed and/or modified. Lets just pass the driver as a parameter to all functions where needed. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
22fd3ac38f
commit
1009a61ecb