Date: Sat, 9 Apr 2022 00:28:10 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ae4bffd5d2b4 - main - gpio pl061: Remove unused variables. Message-ID: <202204090028.2390SA4J056972@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ae4bffd5d2b4e04c7f4b85ac5d99ae14c828b2f8 commit ae4bffd5d2b4e04c7f4b85ac5d99ae14c828b2f8 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-09 00:25:14 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-09 00:25:14 +0000 gpio pl061: Remove unused variables. --- sys/dev/gpio/pl061.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/dev/gpio/pl061.c b/sys/dev/gpio/pl061.c index 0a1f3593b3a7..d8fea81c0e40 100644 --- a/sys/dev/gpio/pl061.c +++ b/sys/dev/gpio/pl061.c @@ -103,9 +103,6 @@ pl061_pin_max(device_t dev, int *maxpin) static int pl061_pin_getname(device_t dev, uint32_t pin, char *name) { - struct pl061_softc *sc; - - sc = device_get_softc(dev); if (pin >= PL061_NUM_GPIO) return (EINVAL); @@ -140,9 +137,6 @@ pl061_pin_getflags(device_t dev, uint32_t pin, uint32_t *flags) static int pl061_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps) { - struct pl061_softc *sc; - - sc = device_get_softc(dev); if (pin >= PL061_NUM_GPIO) return (EINVAL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204090028.2390SA4J056972>