From patchwork Wed Jun 16 05:33:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Justin P. Mattock" X-Patchwork-Id: 106374 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5G5ZMLQ010173 for ; Wed, 16 Jun 2010 05:35:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755669Ab0FPFed (ORCPT ); Wed, 16 Jun 2010 01:34:33 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:52352 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754775Ab0FPFdz (ORCPT ); Wed, 16 Jun 2010 01:33:55 -0400 Received: by mail-pv0-f174.google.com with SMTP id 4so499909pva.19 for ; Tue, 15 Jun 2010 22:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=OGEpaOQpi1BTsl0q1riL4KYnyBq18UAJmgszmXOQeDM=; b=V6euE8wYMyNHtf2sG6qxQ4L28/rgOa/vXlJdeMRRjLKfrU5+DFLzqcPQD2pGhs25/8 bK20nRo89j2Uw6YtmT80v6QWwOgjwDYaKYzQSS0p1WCiNJlm8Q3d/DF+7APRKpO3o/Q+ jwOmI4cy3T/3mZvhLSnE5odZneYOlkfOWQqR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Gd6CBSbqUeLW0OiRr1SCgBoKkRLwpZ/Dw/5I+CdIUbPmJ1Oi53u+NQKPkP3sfa8o/7 40BoUOqXxbiUQCP3TmzfnPh4FbunWONffNtJHC8QbT6dNSuIEOeifV15E4CsaCiH1V6g ZrQDQhmbSR0tBXUn0dsqZ2JEElY+96HbLhBq8= Received: by 10.115.38.6 with SMTP id q6mr6616696waj.207.1276666435208; Tue, 15 Jun 2010 22:33:55 -0700 (PDT) Received: from localhost.localdomain ([76.91.45.220]) by mx.google.com with ESMTPS id n29sm77394991wae.4.2010.06.15.22.33.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 15 Jun 2010 22:33:54 -0700 (PDT) From: "Justin P. Mattock" To: linux-kernel@vger.kernel.org Cc: linux-wireless@vger.kernel.org, linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org, "Justin P. Mattock" Subject: [PATCH 4/5]pci:setup_bus.c Fix warning: variable 'retval' set but not used Date: Tue, 15 Jun 2010 22:33:53 -0700 Message-Id: <1276666434-11227-5-git-send-email-justinmattock@gmail.com> X-Mailer: git-send-email 1.7.1.rc1.21.gf3bd6 In-Reply-To: <1276666434-11227-1-git-send-email-justinmattock@gmail.com> References: <1276666434-11227-1-git-send-email-justinmattock@gmail.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 16 Jun 2010 05:35:24 +0000 (UTC) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 19b1113..215590b 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c @@ -865,7 +865,6 @@ void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge) struct pci_bus *parent = bridge->subordinate; int tried_times = 0; struct resource_list_x head, *list; - int retval; unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM | IORESOURCE_PREFETCH; @@ -874,7 +873,6 @@ void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge) again: pci_bus_size_bridges(parent); __pci_bridge_assign_resources(bridge, &head); - retval = pci_reenable_device(bridge); pci_set_master(bridge); pci_enable_bridges(parent);