lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200707211428.45973.caglar@pardus.org.tr>
Date:	Sat, 21 Jul 2007 14:28:42 +0300
From:	"S.Çağlar Onur" <caglar@...dus.org.tr>
To:	dougthompson@...ssion.com
Cc:	bluesmoke-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: [PATCH] Remove unusued edac_reset_delay_period function

Hi;

Following patch removes unused [1] edac_reset_delay_period function to silent

drivers/edac/edac_mc.c:334: warning: 'edac_reset_delay_period' defined but not used

compile warning.

[1] 
caglar@...getsu linux-2.6 $ grep edac_reset_delay_period * -r
drivers/edac/edac_mc.c: * edac_reset_delay_period
drivers/edac/edac_mc.c:static void edac_reset_delay_period(struct mem_ctl_info *mci, unsigned long value)

Signed-off-by: S.Çağlar Onur <caglar@...dus.org.tr>

 drivers/edac/edac_mc.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index 4471be3..c36a19a 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -327,23 +327,6 @@ static void edac_mc_workq_teardown(struct mem_ctl_info *mci)
 	}
 }
 
-/*
- * edac_reset_delay_period
- */
-static void edac_reset_delay_period(struct mem_ctl_info *mci, unsigned long value)
-{
-	/* cancel the current workq request */
-	edac_mc_workq_teardown(mci);
-
-	/* lock the list of devices for the new setup */
-	mutex_lock(&mem_ctls_mutex);
-
-	/* restart the workq request, with new delay value */
-	edac_mc_workq_setup(mci, value);
-
-	mutex_unlock(&mem_ctls_mutex);
-}
-
 /* Return 0 on success, 1 on failure.
  * Before calling this function, caller must
  * assign a unique value to mci->mc_idx.

Cheers
-- 
S.Çağlar Onur <caglar@...dus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ