summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2018-02-03 17:17:32 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2018-02-03 17:17:32 +0000
commit75b6c3a5f8029e00a86e055cdc8f4ac60edb0ae1 (patch)
treecc6ca2407202dad05cf736882528927b764f9da1 /sys/dev/ic
parentb0880fa081e2997781d329dbfcfba179a2541027 (diff)
Remove a pointless assignment introduced in previous commit.
CID 1464695; pointed out to me by mikeb@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ar5212.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5212.c b/sys/dev/ic/ar5212.c
index 6ed3468cc2d..b4f345d315c 100644
--- a/sys/dev/ic/ar5212.c
+++ b/sys/dev/ic/ar5212.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5212.c,v 1.58 2018/01/31 11:27:03 stsp Exp $ */
+/* $OpenBSD: ar5212.c,v 1.59 2018/02/03 17:17:31 stsp Exp $ */
/*
* Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -514,7 +514,6 @@ ar5k_ar5212_reset(struct ath_hal *hal, HAL_OPMODE op_mode, HAL_CHANNEL *channel,
mode = AR5K_INI_VAL_11B;
ee_mode = AR5K_EEPROM_MODE_11B;
} else {
- mode = AR5K_INI_VAL_11B;
mode = AR5K_INI_VAL_11G;
ee_mode = AR5K_EEPROM_MODE_11G;
}