All of lore.kernel.org
 help / color / mirror / Atom feed
From: piaojun <piaojun@huawei.com>
To: virtio-fs@redhat.com
Subject: [Virtio-fs] [PATCH] virtio: clean up unused 'char *bar_name'
Date: Wed, 14 Aug 2019 12:44:10 +0800	[thread overview]
Message-ID: <5D53919A.4@huawei.com> (raw)

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)) {
-- 


             reply	other threads:[~2019-08-14  4:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-14  4:44 piaojun [this message]
2019-08-14 12:53 ` [Virtio-fs] [PATCH] virtio: clean up unused 'char *bar_name' Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5D53919A.4@huawei.com \
    --to=piaojun@huawei.com \
    --cc=virtio-fs@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.