diff options
author | Chen Hanxiao | 2015-07-14 10:16:11 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2015-07-20 13:19:41 +0200 |
commit | 9a2a66238e3bf2b681d6321c4667a2d589c8ebed (patch) | |
tree | 6271182ad60d3ebb86784dc3643d7baf40f589ea | |
parent | virtio-net: unbreak any layout (diff) | |
download | qemu-9a2a66238e3bf2b681d6321c4667a2d589c8ebed.tar.gz qemu-9a2a66238e3bf2b681d6321c4667a2d589c8ebed.tar.xz qemu-9a2a66238e3bf2b681d6321c4667a2d589c8ebed.zip |
pci_add_capability: remove duplicate comments
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r-- | hw/pci/pci.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/pci/pci.c b/hw/pci/pci.c index 442f822f42..a017614d48 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) { |