Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2022 15:23:11 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 7eaee6ba9f6c - stable/13 - linuxkpi: Remove write only variable from lkpi_iicbb_reset
Message-ID:  <202206211523.25LFNBEQ062877@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=7eaee6ba9f6cf91089cd66d9491d53e338510388

commit 7eaee6ba9f6cf91089cd66d9491d53e338510388
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-05 05:05:52 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-06-21 15:13:57 +0000

    linuxkpi: Remove write only variable from lkpi_iicbb_reset
    
    Sponsored by:           Netflix
    Reviewed by:            hselasky
    Differential Revision:  https://reviews.freebsd.org/D34770
    
    (cherry picked from commit 58e6719ca06991a92b67630b634ddd25a9c2c3bf)
---
 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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206211523.25LFNBEQ062877>