[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 4/6] pci_add_capability: remove duplicate comments
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL 4/6] pci_add_capability: remove duplicate comments |
Date: |
Mon, 20 Jul 2015 15:12:20 +0300 |
From: Chen Hanxiao <address@hidden>
Signed-off-by: Chen Hanxiao <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
hw/pci/pci.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index 442f822..a017614 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -2101,12 +2101,10 @@ static void pci_del_option_rom(PCIDevice *pdev)
}
/*
- * if !offset
- * Reserve space and add capability to the linked list in pci config space
- *
* if offset = 0,
* Find and reserve space and add capability to the linked list
- * in pci config space */
+ * in pci config space
+ */
int pci_add_capability(PCIDevice *pdev, uint8_t cap_id,
uint8_t offset, uint8_t size)
{
--
MST
- [Qemu-devel] [PULL 0/6] virtio, vhost, pc fixes for 2.4, Michael S. Tsirkin, 2015/07/20
- [Qemu-devel] [PULL 1/6] ich9: fix skipped vmstate_memhp_state subsection, Michael S. Tsirkin, 2015/07/20
- [Qemu-devel] [PULL 2/6] Revert "vhost-user: add multi queue support", Michael S. Tsirkin, 2015/07/20
- [Qemu-devel] [PULL 3/6] virtio-net: unbreak any layout, Michael S. Tsirkin, 2015/07/20
- [Qemu-devel] [PULL 5/6] virtio-net: Flush incoming queues when DRIVER_OK is being set, Michael S. Tsirkin, 2015/07/20
- [Qemu-devel] [PULL 6/6] virtio-net: remove virtio queues if the guest doesn't support multiqueue, Michael S. Tsirkin, 2015/07/20
- [Qemu-devel] [PULL 4/6] pci_add_capability: remove duplicate comments,
Michael S. Tsirkin <=
- Re: [Qemu-devel] [PULL 0/6] virtio, vhost, pc fixes for 2.4, Peter Maydell, 2015/07/20