virtio: silence a -Wunused-label warning
Subsystems (2)
PATCH 1/1 virtio: silence a -Wunused-label warning
The label 'out_del_vqs:' is only used by CONFIG_BALLOON_COMPACTION, so move it to the region.
Signed-off-by Qiujun Huang <[email protected]>
--- drivers/virtio/virtio_balloon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virtio/virtio_balloon.c +1 -1
@@ -959,8 +959,8 @@ static int virtballoon_probe(struct virtio_device *vdev)iput (vb->vb_dev_info.inode); out_kern_unmount:kern_unmount (balloon_mnt); -#endif out_del_vqs: +#endif vdev->config->del_vqs (vdev); out_free_vb:kfree (vb);
Signature · 1 line
1.8.3.1