From patchwork Sun Apr 12 03:46:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhenwen Xu X-Patchwork-Id: 17770 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3C3lVap026575 for ; Sun, 12 Apr 2009 03:47:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755804AbZDLDra (ORCPT ); Sat, 11 Apr 2009 23:47:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755673AbZDLDra (ORCPT ); Sat, 11 Apr 2009 23:47:30 -0400 Received: from ti-out-0910.google.com ([209.85.142.189]:58870 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755159AbZDLDr3 (ORCPT ); Sat, 11 Apr 2009 23:47:29 -0400 Received: by ti-out-0910.google.com with SMTP id i7so1298966tid.23 for ; Sat, 11 Apr 2009 20:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:reply-to:mime-version:content-type:content-disposition :content-transfer-encoding:user-agent; bh=QfR1CjSeroz7M2xZLWlJwe+0PPLewB1zTkhNZQQHuTU=; b=ecAcX+LfMVwLCgV0ftX+NHp2QCzzxWXkhRaY9r7+KGbZBuBQlWqg/t0Xfc6kmVh0Rv Rt3NJ0iLuFLnW9sOoc8rbynzTNiG+cTTMQgnzhb611G+seMGNFsSkPC7fXjBTJLJauwK pWYUbwMpQCiNkjddoRQfuyECLWJY5Th/f5uz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; b=XmAeUCpYEsW+bIs8CtA08drwfO4ZZcmYbUfzs0e0QfiwflZQDc2lumPlK7iJbtyqDl 8Btz3CFGjC6NX0VHtw24BhPSpaMsn3q2lM7T+ECURk5TTk5Qh5AUPXupn8oyjJmDJvJ8 okSldTnOjMVKSLYF0cwiEq6+FFf2kAw5qGkvU= Received: by 10.110.43.16 with SMTP id q16mr3747313tiq.57.1239508046812; Sat, 11 Apr 2009 20:47:26 -0700 (PDT) Received: from localhost ([221.11.22.40]) by mx.google.com with ESMTPS id w12sm7147333tib.0.2009.04.11.20.47.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Apr 2009 20:47:25 -0700 (PDT) Date: Sun, 12 Apr 2009 11:46:03 +0800 From: Zhenwen Xu To: linux-pci@vger.kernel.org Subject: [PATCH]fix a warning on drivers/pci/hotplug/ibmphp_core.c:1414: Message-ID: <20090412034603.GA6329@helight> Reply-To: Zhenwen Xu MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org fix this warning: drivers/pci/hotplug/ibmphp_core.c:1414: warning: ‘ibmphp_exit’ defined but not used From 803b063aa766e145ba903ffa1c9547bd74561402 Mon Sep 17 00:00:00 2001 From: Zhenwen Xu Date: Sun, 12 Apr 2009 11:37:26 +0800 Subject: [PATCH]fix-the-warning-ibmphp_exit-defined-but-not-used MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zhenwen Xu --- drivers/pci/hotplug/ibmphp_core.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/pci/hotplug/ibmphp_core.c b/drivers/pci/hotplug/ibmphp_core.c index dd18f85..8b9c14f 100644 --- a/drivers/pci/hotplug/ibmphp_core.c +++ b/drivers/pci/hotplug/ibmphp_core.c @@ -1410,12 +1410,4 @@ error: goto exit; } -static void __exit ibmphp_exit(void) -{ - ibmphp_hpc_stop_poll_thread(); - debug("after polling\n"); - ibmphp_unload(); - debug("done\n"); -} - module_init(ibmphp_init);