pci_add_capability: remove duplicate comments
PATCH v2 1/1 pci_add_capability: remove duplicate comments
Signed-off-by Chen Hanxiao <[email protected]>
--- hw/pci/pci.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
hw/pci/pci.c +2 -4
@@ -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) {
Signature · 1 line
2.1.0
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Chen Hanxiao
Sent: Tuesday, July 14, 2015 4:16 PM
To: Michael S. Tsirkin; [email protected]
Subject: [Qemu-devel] [PATCH v2]pci_add_capability: remove duplicate commentsSigned-off-by Chen Hanxiao <[email protected]>--- hw/pci/pci.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)hw/pci/pci.c +2
-5@@ -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) { --
Quoted 2 lines
2.1.0
ping
Regards,
- Chen