From nobody Wed Nov 24 16:25:56 2021 X-Original-To: dev-commits-src-main@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 4C827189A230; Wed, 24 Nov 2021 16:25:57 +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 4Hzmb86Qhfz3tTm; Wed, 24 Nov 2021 16:25:56 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 BCBCD5160; Wed, 24 Nov 2021 16:25:56 +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 1AOGPu7e019658; Wed, 24 Nov 2021 16:25:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOGPuHD019657; Wed, 24 Nov 2021 16:25:56 GMT (envelope-from git) Date: Wed, 24 Nov 2021 16:25:56 GMT Message-Id: <202111241625.1AOGPuHD019657@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 3279341dc541 - main - aesni: plug a set-but-not-unused var in aesni_newsession List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3279341dc541cfc730c80b8dd29ae9a6cd106325 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637771156; 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=dO2pEWV4DtorXEpibGUOclVqefdm+LA14FRZaP1juUw=; b=RSZiHgF4xxOxXYoRPp3CK4WprgZDf6Dx/ScyzcajD7ZjvhNHNVD1VvQfDWkfIVPEcDk/sW v9ROyklM5Nn+Is9in5MYZVILwXfJl+vH5W0lQPG5KwUx2W07ow4/IraFnt2sO1cRfIMnx4 eYnjsnNK83D//7i8fjipqJ4CI9BfMNaNTGAWNeJ67IGfXwlJrhFVxsuJMDJTQTYNc9vQpg Qg79XD4EVxRpXryr8bxgItq/OYTokICy6aWC6KIo12wQezFvPPp8pSUaeD841FGYpou34N bmZ/J1qwxIWoQN0FM3ir4gPZTDwdjJr7SZGlAUWLRNv33x4tricgm2Urwt5VyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637771156; a=rsa-sha256; cv=none; b=DtJZKzDWGIgOcMC8RDUInHOC3/Ce3sXEcLbB5f2pkmlaQXrk+k+7dUFlw+gSvBqD1YTjYJ 7DUSWiy3WnnCvYldNdSdlmISZAn678B9WrfocroiIjnSRGRqF9Baw8H6hxLM9GnK7FVaXY 3syO1pBwghdsOBmJmrVDRo2VaJxFXLSwS1E78C7xOWRYsR03g7t34G1n2Ze31MjYwuXkyn W3h7+Ute9enw1xy0OKUsHn6CDwKQd5rwcprd9Wy/fLlMFW/5m8J58wUXO7iUCuF2x6259S 1D7YRc3xdIKp64Th8ue57KbYQdWtZGBpH0/y4nw9hVoSLOxxBnf8JEUDX5uHVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=3279341dc541cfc730c80b8dd29ae9a6cd106325 commit 3279341dc541cfc730c80b8dd29ae9a6cd106325 Author: Mateusz Guzik AuthorDate: 2021-11-24 16:17:09 +0000 Commit: Mateusz Guzik CommitDate: 2021-11-24 16:25:50 +0000 aesni: plug a set-but-not-unused var in aesni_newsession Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/crypto/aesni/aesni.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/crypto/aesni/aesni.c b/sys/crypto/aesni/aesni.c index de797abd1af5..cd31287b08f0 100644 --- a/sys/crypto/aesni/aesni.c +++ b/sys/crypto/aesni/aesni.c @@ -342,12 +342,9 @@ static int aesni_newsession(device_t dev, crypto_session_t cses, const struct crypto_session_params *csp) { - struct aesni_softc *sc; struct aesni_session *ses; int error; - sc = device_get_softc(dev); - ses = crypto_get_driver_session(cses); switch (csp->csp_mode) {