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 error decl



details:   https://anonhg.NetBSD.org/src/rev/b98c4c0dd5db
branches:  trunk
changeset: 321498:b98c4c0dd5db
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 18 23:26:38 2018 +0000

description:
remove error decl

diffstat:

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

diffs (27 lines):

diff -r e3204b201d6d -r b98c4c0dd5db sys/compat/common/ccd_60.c
--- a/sys/compat/common/ccd_60.c        Sun Mar 18 23:22:15 2018 +0000
+++ b/sys/compat/common/ccd_60.c        Sun Mar 18 23:26:38 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ccd_60.c,v 1.3 2018/03/18 23:22:15 christos Exp $      */
+/*     $NetBSD: ccd_60.c,v 1.4 2018/03/18 23:26:38 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.3 2018/03/18 23:22:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ccd_60.c,v 1.4 2018/03/18 23:26:38 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -52,8 +52,6 @@
        switch (cmd) {
 #ifdef CCDIOCSET_60
        case CCDIOCSET_60: {
-               int error;
-
                if (data == NULL)
                        return 0;
                



Home | Main Index | Thread Index | Old Index