From 7c7a6e76f0dfadf7d30cf5fb2f1656e8fcc7d846 Mon Sep 17 00:00:00 2001 From: miod Date: Mon, 19 Jan 2015 18:38:41 +0000 Subject: [PATCH] Remove dead store causing clang to warn; dhill --- sys/dev/spdmem.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/spdmem.c b/sys/dev/spdmem.c index 050d56ecd62..0d80c33261a 100644 --- a/sys/dev/spdmem.c +++ b/sys/dev/spdmem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spdmem.c,v 1.3 2011/04/19 21:55:25 chl Exp $ */ +/* $OpenBSD: spdmem.c,v 1.4 2015/01/19 18:38:41 miod Exp $ */ /* $NetBSD: spdmem.c,v 1.3 2007/09/20 23:09:59 xtraeme Exp $ */ /* @@ -593,7 +593,6 @@ spdmem_fbdimm_decode(struct spdmem_softc *sc, struct spdmem *s) SPDMEM_FBDIMM_RANKS_WIDTH) + 2); p_clk = (d_clk * bits) / 8 / cycle_time; - d_clk = ((d_clk + cycle_time / 2) ) / cycle_time; p_clk -= p_clk % 100; printf(" PC2-%d", p_clk); } -- 2.20.1