mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
feb93f3617
commit
9a2a66238e
|
@ -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,
|
* if offset = 0,
|
||||||
* Find and reserve space and add capability to the linked list
|
* 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,
|
int pci_add_capability(PCIDevice *pdev, uint8_t cap_id,
|
||||||
uint8_t offset, uint8_t size)
|
uint8_t offset, uint8_t size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue