summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwm.c
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2022-07-11 11:28:38 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2022-07-11 11:28:38 +0000
commit6426439b0675e639e210fc8ad065405705191fd2 (patch)
tree593852bf4f84602c5ef58bd1295037178e98c888 /sys/dev/pci/if_iwm.c
parente90799caa2b9afede91e088f0cc8f9b7f068dbe3 (diff)
remove duplicate 'if (err)' line in iwm_auth()
spotted by waddlesplash at haiku-os
Diffstat (limited to 'sys/dev/pci/if_iwm.c')
-rw-r--r--sys/dev/pci/if_iwm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index b85d626482e..0bc32b52e41 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwm.c,v 1.402 2022/07/07 07:48:45 stsp Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.403 2022/07/11 11:28:37 stsp Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
@@ -8752,7 +8752,6 @@ iwm_auth(struct iwm_softc *sc)
in->in_ni.ni_chan, 1, 1, 0, IEEE80211_HTOP0_SCO_SCN,
IEEE80211_VHTOP0_CHAN_WIDTH_HT);
if (err)
- if (err)
return err;
}
in->in_phyctxt = &sc->sc_phyctxt[0];