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/3da78c5471ba
branches: trunk
changeset: 360611:3da78c5471ba
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 49a0135aa751 -r 3da78c5471ba 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