]> xenbits.xensource.com Git - libvirt.git/commit
util: Remove need for ret in virPCIGetPhysicalFunction
authorJohn Ferlan <jferlan@redhat.com>
Tue, 17 May 2016 14:38:47 +0000 (10:38 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 19 May 2016 20:30:04 +0000 (16:30 -0400)
commitc8b1a83605e4e70932f57537e94101a3a1998431
treed2b91a2891ed3636810fb6e0a19ca35a5c70045d
parent1f1273c2d1fe71da87f5708c3308bc5fb20aa105
util: Remove need for ret in virPCIGetPhysicalFunction

Since the callers only ever expect 0 or -1, let's just return that directly

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/util/virpci.c