From mboxrd@z Thu Jan 1 00:00:00 1970 From: piaojun Message-ID: <5D53919A.4@huawei.com> Date: Wed, 14 Aug 2019 12:44:10 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Virtio-fs] [PATCH] virtio: clean up unused 'char *bar_name' List-Id: Development discussions about virtio-fs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: virtio-fs@redhat.com Clean up 'char *bar_name' to avoid compile warning. Signed-off-by: Jun Piao --- drivers/virtio/virtio_pci_modern.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index 1cdedd9..52f1794 100644 --- a/drivers/virtio/virtio_pci_modern.c +++ b/drivers/virtio/virtio_pci_modern.c @@ -519,7 +519,6 @@ static bool vp_get_shm_region(struct virtio_device *vdev, u64 offset, len; phys_addr_t phys_addr; size_t bar_len; - char *bar_name; int ret; if (!virtio_pci_find_shm_cap(pci_dev, id, &bar, &offset, &len)) { --