diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2022-07-11 11:28:38 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2022-07-11 11:28:38 +0000 |
commit | 6426439b0675e639e210fc8ad065405705191fd2 (patch) | |
tree | 593852bf4f84602c5ef58bd1295037178e98c888 | |
parent | e90799caa2b9afede91e088f0cc8f9b7f068dbe3 (diff) |
remove duplicate 'if (err)' line in iwm_auth()
spotted by waddlesplash at haiku-os
-rw-r--r-- | sys/dev/pci/if_iwm.c | 3 |
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]; |