* [PATCH] virtio: silence a -Wunused-label warning
@ 2020-03-07 3:43 Qiujun Huang
0 siblings, 0 replies; only message in thread
From: Qiujun Huang @ 2020-03-07 3:43 UTC (permalink / raw)
To: mst; +Cc: jasowang, virtualization, linux-kernel, Qiujun Huang
The label 'out_del_vqs:' is only used by CONFIG_BALLOON_COMPACTION,
so move it to the region.
Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
---
drivers/virtio/virtio_balloon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 7bfe365..341458f 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -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);
--
1.8.3.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-07 3:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-07 3:43 [PATCH] virtio: silence a -Wunused-label warning Qiujun Huang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox