From nobody Fri Dec 10 13:32:13 2021 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 7E32118DDCED; Fri, 10 Dec 2021 13:32:14 +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 4J9WzK6zxDz4YTb; Fri, 10 Dec 2021 13:32:13 +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 D0B521B5A4; Fri, 10 Dec 2021 13:32:13 +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 1BADWDqH049815; Fri, 10 Dec 2021 13:32:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BADWDgX049814; Fri, 10 Dec 2021 13:32:13 GMT (envelope-from git) Date: Fri, 10 Dec 2021 13:32:13 GMT Message-Id: <202112101332.1BADWDgX049814@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 36499dc78923 - main - Fix a set but not used warning in the arm GIC driver 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: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 36499dc78923b5846c6371845929a1008445eb01 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639143134; 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=LmfDXoCX5xlCkVYcrgEV4hPv8J7t9allH3Lsk/w3qas=; b=V5QWiqyAmDn9DdGnQaisvUQ9il7G22RvtOe3BgPAyJ3oyaK37QLLZQ8/5svmvQbOvAi7SK YhSueoZUm0/538IWWZuhpatgbzHcen4m8IJtPgMr/zGHfCpxfQaTpvhwIRqh+9FOgtPx1A lJrA2qewQmmR2tZeqZI+YQTT8gikfTVpdCYvOF6rq0qEPO7YI3LfW1tFBh3QCgUcW28rl1 dafzq9gqSJKzJVVTQJ+Usm/AWLp9RrWYBKwy/Og6yMZ59wMK/5zoN9OvGVQCkFbliOIMPV 0edw890ZgQahyHdh1O2h08bbZc8anpUrXyyEXPlwWf9+4x8SKiVm/F7a0xGbnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639143134; a=rsa-sha256; cv=none; b=wefRlkxynS4gGrQnhyok8zQy3Ur8355NzsUuJ1owsYuIZsT6Vjiez3lfdjLEvB0KktH/zc 94rLAUX/7Dja1hOf2td7mG8VfP3fSCB1bszlMZ40RA87JeWOfsPcvhYofEzc70c6sOfYLj a8+3KbcQkdp1fOSVNZzvFK3ys4ChbB5bsr6l2+lUdHH9cEahuX23lWAsps86Hb7sdpYo9J 4BfonNhqrUQoom9eguJJBEYC65kWs8Me4FlKFpF33UWB8gV9ID1508J1DYUC4V7Dbnkz6z XmeZfd0MKw2CTR3bKAGeEEU8e2RwPf9VErxwFLIAHKtDjkiuZT4exVQqiAdCyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=36499dc78923b5846c6371845929a1008445eb01 commit 36499dc78923b5846c6371845929a1008445eb01 Author: Andrew Turner AuthorDate: 2021-12-10 12:30:01 +0000 Commit: Andrew Turner CommitDate: 2021-12-10 13:29:11 +0000 Fix a set but not used warning in the arm GIC driver Sponsored by: Innovate UK --- sys/arm/arm/gic.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/arm/arm/gic.c b/sys/arm/arm/gic.c index f281f29125b6..e285747678de 100644 --- a/sys/arm/arm/gic.c +++ b/sys/arm/arm/gic.c @@ -510,10 +510,6 @@ arm_gic_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) static int arm_gic_write_ivar(device_t dev, device_t child, int which, uintptr_t value) { - struct arm_gic_softc *sc; - - sc = device_get_softc(dev); - switch(which) { case GIC_IVAR_HW_REV: case GIC_IVAR_BUS: