[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 3/3] pcie: remove confused comments
From: |
arei.gonglei |
Subject: |
[Qemu-devel] [PATCH v3 3/3] pcie: remove confused comments |
Date: |
Mon, 1 Sep 2014 21:29:19 +0800 |
From: Gonglei <address@hidden>
The below functions is not allocation funcitons, but
find helper function. The only allocation function is
pcie_add_capability(), but its argument names is not the
same with the comments. So remove this comments which
make people confused.
Signed-off-by: Gonglei <address@hidden>
---
hw/pci/pcie.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/hw/pci/pcie.c b/hw/pci/pcie.c
index 30dd481..75b70d0 100644
--- a/hw/pci/pcie.c
+++ b/hw/pci/pcie.c
@@ -528,14 +528,6 @@ bool pcie_cap_is_arifwd_enabled(const PCIDevice *dev)
PCI_EXP_DEVCTL2_ARI;
}
-/**************************************************************************
- * pci express extended capability allocation functions
- * uint16_t ext_cap_id (16 bit)
- * uint8_t cap_ver (4 bit)
- * uint16_t cap_offset (12 bit)
- * uint16_t ext_cap_size
- */
-
static uint16_t pcie_find_capability_list(PCIDevice *dev, uint16_t cap_id,
uint16_t *prev_p)
{
--
1.7.12.4
- [Qemu-devel] [PATCH v3 0/3] add check for PCIe root ports and downstream ports, arei.gonglei, 2014/09/01
- [Qemu-devel] [PATCH v3 3/3] pcie: remove confused comments,
arei.gonglei <=
- [Qemu-devel] [PATCH v3 2/3] pcie: add check for ari capability of pcie devices, arei.gonglei, 2014/09/01
- [Qemu-devel] [PATCH v3 1/3] qdev: Introduce a function to get qbus's parent, arei.gonglei, 2014/09/01
- Re: [Qemu-devel] [PATCH v3 0/3] add check for PCIe root ports and downstream ports, Gonglei (Arei), 2014/09/04
- Re: [Qemu-devel] [PATCH v3 0/3] add check for PCIe root ports and downstream ports, Gonglei (Arei), 2014/09/29
- Re: [Qemu-devel] [PATCH v3 0/3] add check for PCIe root ports and downstream ports, Michael S. Tsirkin, 2014/09/29