From nobody Tue Apr 05 04:32: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 DD5B01A90A5B; Tue, 5 Apr 2022 04:32:22 +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 4KXZVs51rxz4gJJ; Tue, 5 Apr 2022 04:32:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133142; 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=g7mcsFvMTahQuDNCSijMLJUz5IUbnRap7JEg3PM+nXc=; b=mOeCdlpWcuAyc+uL49/EuEwgVGS3G9cm4ir1QNkvcNlF+wDRh32OU1d6F8UpnP47MgwxvR CKAWC9Yn4uj0MyLSLGIsgn0GhsGOcabOIPpzmqkRPxwQzTnmWnpT7Xu4b6IC+SjNsF+H5H ffu/JmqQl6luKN27nd8muhl35lG305HTurA1/aMG40VTbHhgSIzKtjTN8WGMmnQ3ps1Dda /qxtdMzf9kZ1geT67ctHlqdI31x55wX2Ka2tVNyvd6KQy+9+CpE4vu30xZ6ado+i1W/pVj 1cBxuQw34ADx460WlhEo4HG6v0/lJ+3I5Kn5IFEwmkrLmqGfCWgY7i7j603yhQ== 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 0DF5E1FB41; Tue, 5 Apr 2022 04:32:21 +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 2354WKYg008881; Tue, 5 Apr 2022 04:32:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354WKQp008880; Tue, 5 Apr 2022 04:32:20 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:20 GMT Message-Id: <202204050432.2354WKQp008880@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 875145ffd48e - main - rx8803_settime: remove write only variable bus 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 875145ffd48e1cad1e3aa2ee6c134d45523558b0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133142; 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=g7mcsFvMTahQuDNCSijMLJUz5IUbnRap7JEg3PM+nXc=; b=tWTtxHxUamMSCYFKWPbC7AR1Yuw0Imro5UFtVPe7c9nClJ4ntjppsggz8/S7yP3ZsER83J wUVVWthcMQtReyVmvZzONioiqS7MUlhXq3QJ1ToBYK5W5DsYU2jcQSXi2ddkCoDBaYXBt9 OI3bIwf2Z4XLa4O/vtUup1Gt3VLWKrLJ1op/D4Rhv0uhU259+cxE58lxPtMQqn4AN9KtoR t/0g4gMu+NS+pAAL8ltv9rnyAdVRVuYISwOvO1C4DNpDLa1FrKvKwvM5DFtID7YO5IN/1b GzodU/apwc4tWvULmf6Y8xob/8eykpFr98WYqUnBrJYbnRiBHmDKHYZ080NzFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133142; a=rsa-sha256; cv=none; b=lLL0Yei3joxF6fsnVtIYZYk/p/sES2A0idVW2qSjHR22XIIZrW5vrs5Pbi0A+5jwmHozL1 0IET/V3GLLW4Iw6IS4NdNJWfdUn/xswoVaM5LloFmEfN/un9rEUMlinuxHg7/cKkh3GiV1 bNGgSmTAefElg0xQnDLNwcPjtID2KZJOmzRU4QqX/iMQKHWDpvqfPUMXbAZ/pF9ewcEfGZ Yeh+Ak4cMPdWS17Hc7sjN/kxTXPJylJhCWeEaG2PGpo0tTOykgnWlie54WaGbAoKIwcrgm vlWi7s+BHcAbPtTO/ah0LlVfMpwH62ivv43gUC5VWlBKybvzsFRF0Ka3F+Gbmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=875145ffd48e1cad1e3aa2ee6c134d45523558b0 commit 875145ffd48e1cad1e3aa2ee6c134d45523558b0 Author: Warner Losh AuthorDate: 2022-04-05 01:35:22 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:29:38 +0000 rx8803_settime: remove write only variable bus Sponsored by: Netflix --- sys/dev/iicbus/rtc/rx8803.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/iicbus/rtc/rx8803.c b/sys/dev/iicbus/rtc/rx8803.c index cb704a0e10f5..2b8dc3623dd9 100644 --- a/sys/dev/iicbus/rtc/rx8803.c +++ b/sys/dev/iicbus/rtc/rx8803.c @@ -134,12 +134,9 @@ rx8803_settime(device_t dev, struct timespec *ts) { struct rx8803_time data; struct bcd_clocktime bcd; - device_t bus; uint8_t reg; int rc; - bus = device_get_parent(dev); - ts->tv_sec -= utc_offset(); clock_ts_to_bcd(ts, &bcd, false); clock_dbgprint_bcd(dev, CLOCK_DBG_WRITE, &bcd);