diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2010-08-12 16:34:54 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2010-08-12 16:34:54 +0000 |
commit | 5850f7c441fa9bd99d4e9b1be1bfef3452ad18a3 (patch) | |
tree | f18374357be1ef5c4464caef586d8840fbc1a0a8 /sys | |
parent | 38d7afdf38d77cbf469512c9130c47ae5c586049 (diff) |
no need to set these pointers to NULL, softc is already zeroed.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/ar5416.c | 3 | ||||
-rw-r--r-- | sys/dev/ic/ar9285.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ic/ar5416.c b/sys/dev/ic/ar5416.c index eb701905250..d107e2209be 100644 --- a/sys/dev/ic/ar5416.c +++ b/sys/dev/ic/ar5416.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5416.c,v 1.10 2010/07/15 19:29:00 damien Exp $ */ +/* $OpenBSD: ar5416.c,v 1.11 2010/08/12 16:34:53 damien Exp $ */ /*- * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr> @@ -128,7 +128,6 @@ ar5416_attach(struct athn_softc *sc) sc->ops.set_synth = ar5416_set_synth; sc->ops.spur_mitigate = ar5416_spur_mitigate; sc->ops.get_spur_chans = ar5416_get_spur_chans; - sc->ops.olpc_init = NULL; if (AR_SREV_9160_10_OR_LATER(sc)) sc->ini = &ar9160_ini; else diff --git a/sys/dev/ic/ar9285.c b/sys/dev/ic/ar9285.c index 9a7d504db6d..a5d12831168 100644 --- a/sys/dev/ic/ar9285.c +++ b/sys/dev/ic/ar9285.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar9285.c,v 1.11 2010/07/15 20:25:27 damien Exp $ */ +/* $OpenBSD: ar9285.c,v 1.12 2010/08/12 16:34:53 damien Exp $ */ /*- * Copyright (c) 2009-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -117,7 +117,6 @@ ar9285_attach(struct athn_softc *sc) sc->ops.set_synth = ar9280_set_synth; sc->ops.spur_mitigate = ar9280_spur_mitigate; sc->ops.get_spur_chans = ar9285_get_spur_chans; - sc->ops.olpc_init = NULL; sc->ini = &ar9285_1_2_ini; sc->serdes = ar9280_2_0_serdes; |