Module Name: src
Committed By: christos
Date: Sun May 4 22:18:38 UTC 2014
Modified Files:
src/sys/dev/usb: ucom.c
Log Message:
remove hack for PR/42848
To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/dev/usb/ucom.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/ucom.c
diff -u src/sys/dev/usb/ucom.c:1.103 src/sys/dev/usb/ucom.c:1.104
--- src/sys/dev/usb/ucom.c:1.103 Sun Mar 16 01:20:29 2014
+++ src/sys/dev/usb/ucom.c Sun May 4 18:18:38 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: ucom.c,v 1.103 2014/03/16 05:20:29 dholland Exp $ */
+/* $NetBSD: ucom.c,v 1.104 2014/05/04 22:18:38 christos Exp $ */
/*
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.103 2014/03/16 05:20:29 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.104 2014/05/04 22:18:38 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -368,10 +368,6 @@ ucomopen(dev_t dev, int flag, int mode,
int s, i;
int error;
- /* XXX This is a hopefully temporary stopgap for kern/42848. */
- if ((flag & (FREAD|FWRITE)) != (FREAD|FWRITE))
- return (EINVAL);
-
if (sc == NULL)
return (ENXIO);