mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
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:
1 parent
22fd3ac38f
commit
1009a61ecb
1 file changed
+247
-183
+247
-183
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user