git: 58e6719ca069 - main - linuxkpi: Remove write only variable from lkpi_iicbb_reset
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Apr 2022 05:10:02 UTC
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); }