From nobody Sun Oct 02 04:29:32 2022 X-Original-To: dev-commits-src-branches@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 4Mg9wX5Bw9z4dsxN; Sun, 2 Oct 2022 04:29:32 +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 4Mg9wX46sfz44jR; Sun, 2 Oct 2022 04:29:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684972; 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=vKtmjSFelCguRB9NmJ4QvlhiG6xT+xFm9tNt5aMst7g=; b=O0Inifl2ttdbgLaiuRfJj6olpQUgKGhQ+1WRd1mPi6Mu4n8F3zqQvNA+8Ik5wRZcmEABr9 kkcKx6FVYNer/OzcWBKr7qZazEwFLsn7ClQ2PpkpNXdfEK7FnarZm+4QIEO9GtPTBoj19x DfyipP/5AcElfZbTmNmmq0GOSNSL3BSOfIOH6SKKn/YcnEgoWtXgj9IoadzSh+1vTQRHRu CW5U/QZ785w+B6WEMwpt0r2DWsPN37F1zDbv1//KbjJt4L7KETfRpLhTMHc3MT4XYG8+zN fdwvqVijjW2u9XQVU75N7JK7RXJHS1TcmafP/Tsw6wEGd4w8HJsp6WZLUDG3SA== 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 4Mg9wX3DCnzlKK; Sun, 2 Oct 2022 04:29:32 +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 2924TWxu058306; Sun, 2 Oct 2022 04:29:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924TWWK058305; Sun, 2 Oct 2022 04:29:32 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:29:32 GMT Message-Id: <202210020429.2924TWWK058305@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 99558548c425 - stable/13 - rx8803_settime: remove write only variable bus List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 99558548c425e8c4d1f5791936841b226a83a115 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684972; 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=vKtmjSFelCguRB9NmJ4QvlhiG6xT+xFm9tNt5aMst7g=; b=LPen3w0U7jAlcZEGcDh5U5Z6QfvPRm0t+Oc5NklX9wVsN78MtaMUKNY6skSY/PMuL+fTzU 66WSACbY/GyNQRQ8Mn9Y45v3vQZjj/K2ULCV38wja7ebXD756KJ6HJPnSCuIMk1+jIe8rI SaU1qdd2gK0mIQasewDfsm+owYUC7BAH5f2E8jVrn1K1vPmzIdPBRRPevap7HN+jT2uXsO xykKftikx8vIwJKPyjlp1IThecXCTq0o0Jv6VRPXsc4LpWB4C4i1Wer71asWmeo0vvN7vM Wv6tSgYdfvKEveqdZdtTS0J+tlKJ16ywH3Sm39pXjotrWweDB51p7CuY0fUbQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664684972; a=rsa-sha256; cv=none; b=vwMHLsfviE5NE5eg9fMRSEuVDWmjC5DM8mDjiK9yYv77QSwgjY+ubOzp6xscwbLavzy07y togkkyyji2UzkOUm55n3ciqgWoZWFd8j+gLpBs/mLuj6M5nAlSuCYWbRa0kRjRbUmZnQRG z3Rz1+lm9Yl/fwfywKArR5QRqimN3LGrp4YUYvV3NBJFoZUAWaEyofsgNEcM1KGZ9lqAI2 CQF3c0q1w4vte9U4Spc/MVP9Y2N4iac/envrpzBhh92CB0XgMyGRwEf39psqnTjbJKUeAE A4XTKy+mJs1Sy0hUsgK/6iemSg7lSDm1AOiujm0bjXxAembEfLQ29Bhwg4q6DQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=99558548c425e8c4d1f5791936841b226a83a115 commit 99558548c425e8c4d1f5791936841b226a83a115 Author: Warner Losh AuthorDate: 2022-07-08 17:53:30 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:52 +0000 rx8803_settime: remove write only variable bus Sponsored by: Netflix (cherry picked from commit 875145ffd48e1cad1e3aa2ee6c134d45523558b0) --- 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);