qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 3/3] pcie: remove confused comments


From: arei.gonglei
Subject: [Qemu-devel] [PATCH v4 3/3] pcie: remove confused comments
Date: Tue, 30 Sep 2014 18:11:26 +0800

From: Gonglei <address@hidden>

The below functions is not allocation functions, 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 b82211a..f2b9d5d 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]