Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/hil Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/f7a9d56aaa72
branches:  trunk
changeset: 374752:f7a9d56aaa72
user:      martin <martin%NetBSD.org@localhost>
date:      Thu May 11 09:35:57 2023 +0000

description:
Remove unused variable

diffstat:

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

diffs (17 lines):

diff -r 079efbdf5047 -r f7a9d56aaa72 sys/dev/hil/hilms.c
--- a/sys/dev/hil/hilms.c       Thu May 11 09:28:53 2023 +0000
+++ b/sys/dev/hil/hilms.c       Thu May 11 09:35:57 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hilms.c,v 1.6 2023/05/10 00:09:47 riastradh Exp $      */
+/*     $NetBSD: hilms.c,v 1.7 2023/05/11 09:35:57 martin Exp $ */
 /*     $OpenBSD: hilms.c,v 1.5 2007/04/10 22:37:17 miod Exp $  */
 /*
  * Copyright (c) 2003, Miodrag Vallat.
@@ -167,7 +167,6 @@ hilmsattach(device_t parent, device_t se
 int
 hilmsdetach(device_t self, int flags)
 {
-       struct hilms_softc *sc = device_private(self);
        int error;
 
        error = config_detach_children(self, flags);



Home | Main Index | Thread Index | Old Index