From: tom Date: Fri, 15 Jul 2016 22:28:25 +0000 (+0000) Subject: Remove duplicated line in omap mmc driver, which would cause X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=db43106b2697ee101558cbccf97204f60bc3937b;p=openbsd 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@ --- 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. */