summaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-06-11 10:17:59 -0700
committerBrian Behlendorf <[email protected]>2015-06-11 10:22:38 -0700
commit44de2f02d6b1365240f66fd5f3794ccbebd61a60 (patch)
tree668ae0f19522855ec3a7cbfd565692c7ccffc0e4 /include/sys
parentc3520e7f1f567bd4e6a28eff4867c70850e8a854 (diff)
Remove unused variable in vdev_add_child()
Commit c3520e7 restructured vdev_add_child() in such a way that the spa variable was unused during non-debug builds. This is consistent with the upstream illumos code but because ZoL, unlike illumos, is built with all compiler warnings enabled this causes a legitimate warning. Revert this hunk of the patch to keep the build clean. Signed-off-by: Brian Behlendorf <[email protected]> Issue #3432
Diffstat (limited to 'include/sys')
0 files changed, 0 insertions, 0 deletions