]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Remove NONNULL's for virNetDevVPortProfile[Associate|Disassociate]
authorJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 11:58:05 +0000 (07:58 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 17:50:00 +0000 (13:50 -0400)
commit5482db8176f8737cb69998a93ba7bed15e2d1c56
tree413a0489dda027614864135b51adfa5a4e9d5140
parentfbd804ff3d66af48ec0d8208417bb09046986571
util: Remove NONNULL's for virNetDevVPortProfile[Associate|Disassociate]

The source code will check for NULL arguments for 'macvtap_macaddr' and
'vmuuid', so no need for the NONNULL in the prototypes. Following the stack
for both arguments to virNetDevVPortProfileOpSetLink also shows called
functions would handle a NULL value.

Additionally, modified the prototype to use the same 'macvtap_macaddr'
name as the source code for consistency.
src/util/virnetdevvportprofile.h