diff mbox

fix a warning on drivers/pci/hotplug/ibmphp_core.c:1414:

Message ID 20090412034603.GA6329@helight (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Zhenwen Xu April 12, 2009, 3:46 a.m. UTC
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 <Helight.Xu@gmail.com>
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 <helight.xu@gmail.com>
---
 drivers/pci/hotplug/ibmphp_core.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
diff mbox

Patch

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);