From nobody Tue Apr 05 05:10:02 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 963EC1AA3845; Tue, 5 Apr 2022 05:10:03 +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 4KXbLM1StCz3hZ3; Tue, 5 Apr 2022 05:10:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649135403; 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=pXbhamonicdVgxxqPfLu0EYAO+EeiGTybuSDofnuy7o=; b=raC87c85pPjcmxHCQL8jss0JrsNMhUAQmGu2cQk85I696vNCE9cYXY36XgSTEo8Wrkq3L4 IBSD5WwLEeVgGVZtE+seO2qYUC3I2W68ZXURKT5cfWrqUzUBhIZMtJM4l+OeynIFG2L+S/ OICYH1cfiA+4C6A+CiB8HPmFzSpR5n7cqUyvUcP0+A/UNFB1zqKVNZhq4I0IfgV6UW3XST wtH4uUPj4ravtuyQAFJ31YxZtlQN8g/53Hjl98F4DgBev7PhcxfI7w11YJ9aC/uZxn8/c2 tz4OzcQpsiec0Uh1vtATX6LM54U5lkQY+DNSCGb5fR05lLw3TDFgJcZVeR3ckA== 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 9C8EC20597; Tue, 5 Apr 2022 05:10:02 +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 2355A2A7053294; Tue, 5 Apr 2022 05:10:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2355A2H8053291; Tue, 5 Apr 2022 05:10:02 GMT (envelope-from git) Date: Tue, 5 Apr 2022 05:10:02 GMT Message-Id: <202204050510.2355A2H8053291@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: 58e6719ca069 - main - linuxkpi: Remove write only variable from lkpi_iicbb_reset 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 58e6719ca06991a92b67630b634ddd25a9c2c3bf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649135403; 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=pXbhamonicdVgxxqPfLu0EYAO+EeiGTybuSDofnuy7o=; b=BrFpFT8pKke2VUbrklnp+HJNHCx/8CNC1RWxwqX/gq7wii9dUPyPwUEeSrF1H/p3jQpVVU dbaLmLR/0sfL+dNDvHjvdN/Y4xioofs8Ggv2CjNBCoWG+tJ5Oj6qT0vv3dVHKfIoeJVmJ3 lXgtTUMylglX6qRjUpX0Ec6jdwyxNg2VfGOLWmZ7Cc+qptruQwMUOswElnJ4RBUyo33lXm RP8OS88L1+dnR4lR5AOoOCJVA9EBil71DUReu64tcRXgV76ZzgUb70jHf3Cd7oaHF6nEBV csa6g8GqeL/89Vb7/QleKlYnMpkQ7p0aEnsWmD/bXB/j15Ndc6fwz/TOARCKEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649135403; a=rsa-sha256; cv=none; b=GbHPoO5uLyZTOQA/dRzeZg/FkJMUGcEOOSfbiTl8cWXkBpFUofOskD1qFtIFSfuRhVuXUt OPvHVcNDnU9UQbdReathEPHdbT5kmmp4tDvm3IGEC2UT5/HFiyiPNwomvAAu6AkrDCUd+n RpcQWRWYwrXuI16WnQgz6U1VyXyAKqk7paHRV12gU1Dm+RqjtJZuk51QcrsfsmH8ar5Z/1 RLgyQxuJhSxyNDUwAbfsHr+5UJMwi7iGlh/Tdl4EtcyUd8wiZ4Zq1YYv22Xi214zKFZVfP FmGTX+L/SmeDLvzlZIbs8Wfq3/A4emL2Vz1vPQpHhSXnr8lKLhe8hn4PHA4xNA== 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=58e6719ca06991a92b67630b634ddd25a9c2c3bf commit 58e6719ca06991a92b67630b634ddd25a9c2c3bf Author: Warner Losh AuthorDate: 2022-04-05 05:05:52 +0000 Commit: Warner Losh CommitDate: 2022-04-05 05:05:52 +0000 linuxkpi: Remove write only variable from lkpi_iicbb_reset Sponsored by: Netflix Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D34770 --- sys/compat/linuxkpi/common/src/linux_i2cbb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/compat/linuxkpi/common/src/linux_i2cbb.c b/sys/compat/linuxkpi/common/src/linux_i2cbb.c index 06d9ecd6a1fa..e6f851bee103 100644 --- a/sys/compat/linuxkpi/common/src/linux_i2cbb.c +++ b/sys/compat/linuxkpi/common/src/linux_i2cbb.c @@ -210,9 +210,6 @@ lkpi_iicbb_getsda(device_t dev) static int lkpi_iicbb_reset(device_t dev, u_char speed, u_char addr, u_char *oldaddr) { - struct lkpi_iicbb_softc *sc; - - sc = device_get_softc(dev); return (0); }