Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/common remove another error decl.



details:   https://anonhg.NetBSD.org/src/rev/b909eab51e9e
branches:  trunk
changeset: 321499:b909eab51e9e
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 19 00:21:50 2018 +0000

description:
remove another error decl.

diffstat:

 sys/compat/common/ccd_60.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r b98c4c0dd5db -r b909eab51e9e sys/compat/common/ccd_60.c
--- a/sys/compat/common/ccd_60.c        Sun Mar 18 23:26:38 2018 +0000
+++ b/sys/compat/common/ccd_60.c        Mon Mar 19 00:21:50 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ccd_60.c,v 1.4 2018/03/18 23:26:38 christos Exp $      */
+/*     $NetBSD: ccd_60.c,v 1.5 2018/03/19 00:21:50 christos Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -26,7 +26,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ccd_60.c,v 1.4 2018/03/18 23:26:38 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ccd_60.c,v 1.5 2018/03/19 00:21:50 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -77,8 +77,6 @@
        }
 
        case CCDIOCCLR_60:
-               int error;
-
                if (data == NULL)
                        return ENOSYS;
                /*



Home | Main Index | Thread Index | Old Index