From nobody Wed Apr 13 23:09:52 2022 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 6E2731B417A1; Wed, 13 Apr 2022 23:09:53 +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 4Kdywd0h9fz4m3w; Wed, 13 Apr 2022 23:09:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891393; 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=jZScwb4YW/e7UAvQZ8/SwGULEEudGfn0xZzjo4e3Lag=; b=TX0uwHd489iyarWCee6Rd6pyuiCVeK6zjSZOhNqDvDD/HqUDfSAnjEB4otG+TzMMcPKqIU /UwIRPkFh/Daxmtwii6CNx0eq5g/qsuwzXo2PpiWVPNO38FWqzVdcr+EsdH2gtImynbuvs FnDiZAJzRrn2FQq6mRKdMW50bkuCVrysMSHmcdFxG6pHjkjbsCrv+j8PEhP4ZJr8aT4OPW MDXekWI0kN+s8dIX46ecipxRDOPhp/rh6p3E75e+qr01aBLi1dSZQq7ciY7H8szoNjEB7o 4o/drt1lB2QZnFg15ScCOyZ/ezKKTAkd+moM8VgIZW/zw4F6dedWoW/RS2JHDQ== 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 1F38315386; Wed, 13 Apr 2022 23:09:52 +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 23DN9qhA074943; Wed, 13 Apr 2022 23:09:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DN9qk7074942; Wed, 13 Apr 2022 23:09:52 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:09:52 GMT Message-Id: <202204132309.23DN9qk7074942@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: 0a4089c734a2 - main - gpio tca6416: Remove unused variable. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0a4089c734a26b9bb9c84ec6df2010414db38632 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891393; 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=jZScwb4YW/e7UAvQZ8/SwGULEEudGfn0xZzjo4e3Lag=; b=M6EZQu0hqC4oCUwOOVgq3xYgdAketrqa26uD8ItD6Z4zXMy3jbLE2C2xMJJuEeogB1UPt7 ZDiIfux6OqCqgYQY5cQMYKhPuoQBipCP2wG867JGJ2gRBunZHnJHp/Z6BYKZlH7klq7wNg ut0QcQ7pucvc90z3/ae9iEdv+/wr+sVVvVLFtroifZVhyvHnsf9YFxFcq0WAT6A6PEN0Zf xZH1RKbWK0/rbtVazuBGQ2jPnkhEYe2b0cIZfKJK7e5MrrozhB/BcskKQePd+tKLdef8fu hLT/BYfgyV4fG/XP2DzmO6pdNzAgaDkwVgqfCdsnYZ6C/yi3lNfZfeCYT0M9Zw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891393; a=rsa-sha256; cv=none; b=ZWXvBd6GB951qADLQTjs/kVriZFVcuKj5ubVOn+NZ5lGWQlOzS7NBQ7Hm1lQ9Yo3iAYGV+ lrzAJuOLczmtGjcaAJfIYYoen0EhptJx3mZhrSEY6dMngKyNZSucmOi6QzY7spdsDAZ07O AJkkIjDjgA4UoDzfcOeGiSoGrAgADbFYOMahJMlMva5MuMt56NT13ujI74YWrIqyAJSkOa sQvKbycW6EfgRgDm70j1K4cayXrCiMnwBqMasa4tS9atYg8ps2QztU4Pyf6we9Ma6R6Q9V Xq9pl24RptOavT6jnaDO+ufqbuwiOvxGe6Ajx9G/VPoB6g7pVhSb/+2S+P98Pw== 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=0a4089c734a26b9bb9c84ec6df2010414db38632 commit 0a4089c734a26b9bb9c84ec6df2010414db38632 Author: John Baldwin AuthorDate: 2022-04-13 23:08:22 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:22 +0000 gpio tca6416: Remove unused variable. --- sys/dev/iicbus/gpio/tca6416.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/iicbus/gpio/tca6416.c b/sys/dev/iicbus/gpio/tca6416.c index 8007ae98f0c9..a3891207df73 100644 --- a/sys/dev/iicbus/gpio/tca6416.c +++ b/sys/dev/iicbus/gpio/tca6416.c @@ -505,14 +505,11 @@ tca6416_regdump_sysctl(SYSCTL_HANDLER_ARGS) { device_t dev; char buf[5]; - struct tca6416_softc *sc; int len, error; uint8_t reg, regval; dev = (device_t)arg1; reg = (uint8_t)arg2; - sc = device_get_softc(dev); - error = tca6416_read(dev, reg, ®val); if (error != 0) {