From nobody Tue Apr 19 09:35:20 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 783FB11FA640; Tue, 19 Apr 2022 09:35:20 +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 4KjJZ02Z3xz4nl9; Tue, 19 Apr 2022 09:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650360920; 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=GTlqfo5gDuNNPM/3prPShMb0YpZrdCKL8nQRlUBWwpQ=; b=AXA76FWqOt/DH4PYoXSU9DDQZsH62GjX8uBpxPwq4bjg+w71dPWbUyHZdFlpN29PwfyT6+ 4k5FgOyBQiV3mxofAynQsdHC4UIBeBhobe2TgTwu78wDpmqUqf8DRN2kPxsxtNPyUTyFNl pA2Haoi7XqyWxYuxF6raDPk03f5/0lp6+qe5kpaSCFi9pZVIBjqBLHEu/RWm2c0SSUqOZX fb6lXrmgLFtpB+AonfuH+dk5TVY5CjahLKMW1n7qhiCZ2Hw49YLWY6Gs4UGV3v/NJN9Rf5 nOUi5BD/3TmUhjvZoeqXrDRtWRG4bxg62kDXlczYudHHtFtTWyrkPTK0vI0taA== 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 36EC524A60; Tue, 19 Apr 2022 09:35:20 +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 23J9ZKF3068241; Tue, 19 Apr 2022 09:35:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23J9ZKc6068240; Tue, 19 Apr 2022 09:35:20 GMT (envelope-from git) Date: Tue, 19 Apr 2022 09:35:20 GMT Message-Id: <202204190935.23J9ZKc6068240@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: f2edc9155721 - main - uart: plug a set-but-not-used var 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: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f2edc9155721af9e98eaf86928cf270aedd87f80 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650360920; 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=GTlqfo5gDuNNPM/3prPShMb0YpZrdCKL8nQRlUBWwpQ=; b=qMk8i5Uzu+VzEzoZcVOXWtv8ZFNKJr9heqV04rPp9B6NW77YjrliLYHkfnwmcLktJuHI2r 7ZKprs6xPnyBKMt1qfB+l2DI/JBwvlZ1NmueNAd54g1dzxsTN97Q0YnrdscacoX9oTembE CzjxPEcLBtD1DOZKBuWjmpBcs8Iei+cKnzrwN5yWrOoKfWOGFXtdjmRlL6+QpOuntV+Pks nA8RfnMesXK0inReVcU7//cYpCFUdLR8CH7nSOqVgaUtoFzLL0DkX3WXAvLxI3apRpUVsK aGvMEfWp/uZI9G7wqvBjVaylyTRBCXjqTRtFGJnhVOQZG3WWpa9UpH7/cGxWgw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650360920; a=rsa-sha256; cv=none; b=FJkxqUzw9GYi383ZEVVyWEgFsLur3k3udzUKUmAryT+JvrsDvx0+Z4z8Qn/5O+JFnfKmUL k5X8Ubq8V2LbBmNxVp+IYhDV7foYUFxilm4lmLoqAb2i2XQpA/3+MksSHR5H8HhBK34egR Y8HekiSBEHx/NYFQBXLcTuOPtQbHPw+/9WWyZo35fy8mlHQPvlRm66Xia7YNghq5x0K9Nh s5PUUFPERJdkScAg9wAtARXvL6kHeFRMoFRljKhCIGUHdlnnGKnYD6CDFzYaUAr2oG1FYQ PR4/OdRJ45BdiKO0e5LqGH8yKVFkv8ovYjztG3HmwY/5SEraagSz9yRkNdsksQ== 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=f2edc9155721af9e98eaf86928cf270aedd87f80 commit f2edc9155721af9e98eaf86928cf270aedd87f80 Author: Mateusz Guzik AuthorDate: 2022-04-19 09:34:55 +0000 Commit: Mateusz Guzik CommitDate: 2022-04-19 09:34:55 +0000 uart: plug a set-but-not-used var Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/uart/uart_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index 338c091d8c3d..9cd620308cd5 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -345,9 +345,11 @@ static __inline int uart_intr_rxready(void *arg) { struct uart_softc *sc = arg; +#if defined(KDB) int rxp; rxp = sc->sc_rxput; +#endif UART_RECEIVE(sc); #if defined(KDB) if (sc->sc_sysdev != NULL && sc->sc_sysdev->type == UART_DEV_CONSOLE) {