]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virNetDevMacVLanCreateWithVPortProfile: Drop @ret
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 9 Aug 2016 17:25:44 +0000 (19:25 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 10 Aug 2016 14:56:45 +0000 (16:56 +0200)
commit9aea8cd4ae76b5f62ea365dd56d4d9beb96bb024
tree6695ad7e87cb382cd0da0abad4a4ad56b2974bd2
parent42712002fd49e7407e3279ebb947f5b7f8faa7f0
virNetDevMacVLanCreateWithVPortProfile: Drop @ret

Usually, this variable is used to hold the return value for a
function of ours. Well, this is not the case. Its use does not
match our pattern and therefore it is very misleading. Drop it
and define an alternative @rc variable, but only in that single
block where it is needed.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virnetdevmacvlan.c