From db43106b2697ee101558cbccf97204f60bc3937b Mon Sep 17 00:00:00 2001 From: tom Date: Fri, 15 Jul 2016 22:28:25 +0000 Subject: [PATCH] Remove duplicated line in omap mmc driver, which would cause clkbase to be set to 0 (if it wasn't all commented out anyway). ok patrick@ --- sys/arch/armv7/omap/ommmc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/arch/armv7/omap/ommmc.c b/sys/arch/armv7/omap/ommmc.c index dc48281b501..58e915496d8 100644 --- a/sys/arch/armv7/omap/ommmc.c +++ b/sys/arch/armv7/omap/ommmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ommmc.c,v 1.24 2016/06/18 09:59:35 jsg Exp $ */ +/* $OpenBSD: ommmc.c,v 1.25 2016/07/15 22:28:25 tom Exp $ */ /* * Copyright (c) 2009 Dale Rahn @@ -374,7 +374,6 @@ ommmc_attach(struct device *parent, struct device *self, void *aux) #if 0 if (SDHC_BASE_FREQ_KHZ(caps) != 0) sc->clkbase = SDHC_BASE_FREQ_KHZ(caps); - sc->clkbase = SDHC_BASE_FREQ_KHZ(caps); #endif if (sc->clkbase == 0) { /* The attachment driver must tell us. */ -- 2.20.1