Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/thorpej-cfargs]: src/sys/dev/gpio Remove a now-unused variable.



details:   https://anonhg.NetBSD.org/src/rev/507cc049ddcf
branches:  thorpej-cfargs
changeset: 953834:507cc049ddcf
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 21 18:03:32 2021 +0000

description:
Remove a now-unused variable.

diffstat:

 sys/dev/gpio/gpio.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r b2517b9ed639 -r 507cc049ddcf sys/dev/gpio/gpio.c
--- a/sys/dev/gpio/gpio.c       Sun Mar 21 17:58:40 2021 +0000
+++ b/sys/dev/gpio/gpio.c       Sun Mar 21 18:03:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.c,v 1.64.10.3 2021/03/21 17:35:48 thorpej Exp $ */
+/* $NetBSD: gpio.c,v 1.64.10.4 2021/03/21 18:03:32 thorpej Exp $ */
 /*     $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.64.10.3 2021/03/21 17:35:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.64.10.4 2021/03/21 18:03:32 thorpej Exp $");
 
 /*
  * General Purpose Input/Output framework.
@@ -189,7 +189,6 @@
 static int
 gpio_rescan(device_t self, const char *ifattr, const int *locators)
 {
-       struct gpio_softc *sc = device_private(self);
 
        config_search(self, NULL,
            CFARG_SUBMATCH, gpio_search,



Home | Main Index | Thread Index | Old Index