From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHAaQ-0006xh-Bs for qemu-devel@nongnu.org; Mon, 20 Jul 2015 08:54:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHAaN-0004s6-4J for qemu-devel@nongnu.org; Mon, 20 Jul 2015 08:54:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHAaM-0004ry-Vi for qemu-devel@nongnu.org; Mon, 20 Jul 2015 08:54:23 -0400 Date: Mon, 20 Jul 2015 15:12:20 +0300 From: "Michael S. Tsirkin" Message-ID: <1437394279-24416-5-git-send-email-mst@redhat.com> References: <1437394279-24416-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437394279-24416-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL 4/6] pci_add_capability: remove duplicate comments List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Chen Hanxiao From: Chen Hanxiao Signed-off-by: Chen Hanxiao Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/pci/pci.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/pci/pci.c b/hw/pci/pci.c index 442f822..a017614 100644 --- a/hw/pci/pci.c +++ b/hw/pci/pci.c @@ -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) { -- MST