From c9cf7af09feb1ca51ff639f83aefc02a67d83063 Mon Sep 17 00:00:00 2001 From: stsp Date: Sat, 3 Feb 2018 17:17:31 +0000 Subject: [PATCH] Remove a pointless assignment introduced in previous commit. CID 1464695; pointed out to me by mikeb@ --- sys/dev/ic/ar5212.c | 3 +-- 1 file changed, 1 insertion(+), 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 @@ -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; } -- 2.20.1