Commit 9a2a6623 authored by Chen Hanxiao's avatar Chen Hanxiao Committed by Michael S. Tsirkin
Browse files

pci_add_capability: remove duplicate comments

parent feb93f36
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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)
{