]> xenbits.xensource.com Git - libvirt.git/commit
network: Remove null newBandwidth check from networkBandwidthUpdate
authorJohn Ferlan <jferlan@redhat.com>
Tue, 21 Mar 2017 17:33:17 +0000 (13:33 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 17:49:59 +0000 (13:49 -0400)
commit802579b5d682ccf02928893f0cce6279543f9c4d
tree098672587fec09e1cb1b0653bff9b2366b0ab4cf
parent0d73397e5fd2d10f64e5e34aa56fc35d91291f7b
network: Remove null newBandwidth check from networkBandwidthUpdate

The prototype requires a NONNULL argument and the only caller passes in
a non-null parameter. Besides the "else if" condition would deref it anyway.

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