From nobody Sat Apr 09 00:27:57 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E1AF71AAC312; Sat, 9 Apr 2022 00:27:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZwv35DhSz3pMC; Sat, 9 Apr 2022 00:27:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5T1gwRV1tX6eWKtTgh5YyKSKdVntY6IkAfTZ12UgMH0=; b=mBjy5wfI1MQQkr0AtzFf8mJj4YMoSjaVvx2v6HYDxe+BC2xjXxQiTTZN+sTCVY76aOLGPu bAT2wkeOvG8xxsiPz4sCrHDlr49pQ1YyEO/VBNWXW2o2v/uMl49NPtBMtnDq11VNDA7ERg rtdgZxTudP6Hoipum6EeyWXrpRTxetjQRzrMXy84zXljfWH6Nv2djuh22AmaRBbRJXFv5q Hgn8urLFMtEpdxLnXt4cnibCmva5dVR/57ZXzXC09zm80MI1PCRW0AiCCZVatLocyQtWLW WLaGqnpdIGBo9iiYKQPxexEslVoSpuYl03I3VYbXbRRidrXzPnG99BxwKgDP6Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AA8C17980; Sat, 9 Apr 2022 00:27:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2390Rv9M056693; Sat, 9 Apr 2022 00:27:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2390Rvqk056692; Sat, 9 Apr 2022 00:27:57 GMT (envelope-from git) Date: Sat, 9 Apr 2022 00:27:57 GMT Message-Id: <202204090027.2390Rvqk056692@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 1d0cadccf827 - main - sbni: Remove unused variable. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1d0cadccf827b07831f659dd9ad0be853b66f10d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5T1gwRV1tX6eWKtTgh5YyKSKdVntY6IkAfTZ12UgMH0=; b=nZTk3ljGmCoRY7kGLw+iALuVFExx4cO6/Go+2/FixSfOup9Qkazt2hflQ5vz4bqkryeH+K Vy/rw5di3xZUOQp/R3aUYYWcOGTo3+EyXk4JVnToe555z5u8fiwdNLAjDZd2eRjHYhK1UO pkJh0kFbnNFdLng5eOWc0uZhapj2TOweU9I7+++jT5OojQ0ZFt7Ldid49tYo4MH5tP6sqA C90B6VDhzw1payCg7uBdNJdokxyA3QpJJETZMnm6jbhNkD/pfGPJDf2AGdwnTBU9tNAqRz wu4FarUaOYaN1mLOv5W/BXzcAncQVTIU7ufHKvIqGWbfD3gCYz0WBAF1rZC92g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649464079; a=rsa-sha256; cv=none; b=fvswhRxDHEcdmCaEusyn3viNPRHJwXb6FxOgiksmZLz8hKUN/0K+6cejhZaBl7GQzR6d/8 1Nl8QYOm//pkN23Z/fQp3onoJcUZObzOcOaRjJl7KRnhAtBdIyr3ZSo7pH6zpzvNUdfhxe qJPWSopquZsgQ4OjUv24q7pzVg2Gd864NV/w0Iz64NKcMtNhRLNLAfj9cqbPAybCGK6k95 Q5DrceD+avIajpVp9IxNrX0FB4QeVlkhXCngyXN+eR3UaTBTLJzMcanG5fQfHzW+kzr/bp L87VHPVNspvgrOWwBZ/LU55W5m0y4X11847NjtFjuV0zCV2Xxie9J+LDjlR+Dg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1d0cadccf827b07831f659dd9ad0be853b66f10d commit 1d0cadccf827b07831f659dd9ad0be853b66f10d Author: John Baldwin AuthorDate: 2022-04-09 00:25:14 +0000 Commit: John Baldwin CommitDate: 2022-04-09 00:25:14 +0000 sbni: Remove unused variable. --- sys/dev/sbni/if_sbni_pci.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/sbni/if_sbni_pci.c b/sys/dev/sbni/if_sbni_pci.c index 10af065d22c5..abd24df842a1 100644 --- a/sys/dev/sbni/if_sbni_pci.c +++ b/sys/dev/sbni/if_sbni_pci.c @@ -76,16 +76,13 @@ static int sbni_pci_probe(device_t dev) { struct sbni_softc *sc; - u_int32_t ports; - ports = SBNI_PORTS; if (pci_get_vendor(dev) != SBNI_PCI_VENDOR || pci_get_device(dev) != SBNI_PCI_DEVICE) return (ENXIO); sc = device_get_softc(dev); if (pci_get_subdevice(dev) == 2) { - ports <<= 1; sc->slave_sc = malloc(sizeof(struct sbni_softc), M_DEVBUF, M_NOWAIT | M_ZERO); if (!sc->slave_sc)