* [Virtio-fs] [PATCH] virtio: clean up unused 'char *bar_name'
@ 2019-08-14 4:44 piaojun
2019-08-14 12:53 ` Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: piaojun @ 2019-08-14 4:44 UTC (permalink / raw)
To: virtio-fs
Clean up 'char *bar_name' to avoid compile warning.
Signed-off-by: Jun Piao <piaojun@huawei.com>
---
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)) {
--
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Virtio-fs] [PATCH] virtio: clean up unused 'char *bar_name'
2019-08-14 4:44 [Virtio-fs] [PATCH] virtio: clean up unused 'char *bar_name' piaojun
@ 2019-08-14 12:53 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2019-08-14 12:53 UTC (permalink / raw)
To: piaojun; +Cc: virtio-fs
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
On Wed, Aug 14, 2019 at 12:44:10PM +0800, piaojun wrote:
> Clean up 'char *bar_name' to avoid compile warning.
>
> Signed-off-by: Jun Piao <piaojun@huawei.com>
> ---
> drivers/virtio/virtio_pci_modern.c | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-14 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-14 4:44 [Virtio-fs] [PATCH] virtio: clean up unused 'char *bar_name' piaojun
2019-08-14 12:53 ` Stefan Hajnoczi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.