From: stsp Date: Mon, 11 Jul 2022 11:28:37 +0000 (+0000) Subject: remove duplicate 'if (err)' line in iwm_auth() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e9386920aa734153289c7833e31e320c25f21395;p=openbsd remove duplicate 'if (err)' line in iwm_auth() spotted by waddlesplash at haiku-os --- 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 @@ -8751,7 +8751,6 @@ iwm_auth(struct iwm_softc *sc) err = iwm_phy_ctxt_update(sc, &sc->sc_phyctxt[0], in->in_ni.ni_chan, 1, 1, 0, IEEE80211_HTOP0_SCO_SCN, IEEE80211_VHTOP0_CHAN_WIDTH_HT); - if (err) if (err) return err; }