]> xenbits.xensource.com Git - libvirt.git/commit
Simplify bhyveDriverGetCapabilities()
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 7 Apr 2014 15:25:49 +0000 (17:25 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 8 Apr 2014 07:17:01 +0000 (09:17 +0200)
commit17b17565e6464e6219866ffea74e1af310a45195
tree9dce1b4207b53b28353be6bd81afe1f1cef8848f
parent87f24f3434cde47926b04e12bee2af3e4a3a4d2b
Simplify bhyveDriverGetCapabilities()

The driver passed as the only argument to the function should never be
NULL so there's no need to check it. After removing it, the whole
function collapses to a single line doing ref over driver
capabilities.

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