summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2018-02-03 17:17:31 +0000
committerstsp <stsp@openbsd.org>2018-02-03 17:17:31 +0000
commitc9cf7af09feb1ca51ff639f83aefc02a67d83063 (patch)
tree564f2554f5d089bca1c913bb844a67d0dc948bb7
parentSince tcp_attach() has moved to a separate protocol function, the (diff)
downloadwireguard-openbsd-c9cf7af09feb1ca51ff639f83aefc02a67d83063.tar.xz
wireguard-openbsd-c9cf7af09feb1ca51ff639f83aefc02a67d83063.zip
Remove a pointless assignment introduced in previous commit.
CID 1464695; pointed out to me by mikeb@
-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;
}