Date: Tue, 5 Apr 2022 05:10:02 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 58e6719ca069 - main - linuxkpi: Remove write only variable from lkpi_iicbb_reset Message-ID: <202204050510.2355A2H8053291@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=58e6719ca06991a92b67630b634ddd25a9c2c3bf commit 58e6719ca06991a92b67630b634ddd25a9c2c3bf Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-04-05 05:05:52 +0000 Commit: Warner Losh <imp@FreeBSD.org> 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204050510.2355A2H8053291>